Skip to content

Glasgow | ITP-Jan-2026 | Alasdair MacDonald | Sprint 2 | Form Control#1073

Closed
MacDonald91 wants to merge 4 commits into
CodeYourFuture:mainfrom
MacDonald91:feature/form-controls
Closed

Glasgow | ITP-Jan-2026 | Alasdair MacDonald | Sprint 2 | Form Control#1073
MacDonald91 wants to merge 4 commits into
CodeYourFuture:mainfrom
MacDonald91:feature/form-controls

Conversation

@MacDonald91
Copy link
Copy Markdown

Self-checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Completed all the tasks, no errors.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 26, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit edd78f3
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/699724955955dd00084b5f13
😎 Deploy Preview https://deploy-preview-1073--cyf-onboarding-module.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
2 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 96 (🔴 down 4 from production)
SEO: 87 (🟢 up 1 from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

This comment has been minimized.

@MacDonald91 MacDonald91 changed the title Glasgow | ITP-Jan-2026 | Alasdair MacDonald | Sprint 1 | Form Controls Glasgow | ITP-Jan-2026 | Alasdair MacDonald | Sprint 1 | Form Control Jan 26, 2026
@github-actions

This comment has been minimized.

@MacDonald91 MacDonald91 changed the title Glasgow | ITP-Jan-2026 | Alasdair MacDonald | Sprint 1 | Form Control Glasgow | ITP-Jan-2026 | Alasdair MacDonald | Sprint 2 | Form Control Jan 26, 2026
@MacDonald91 MacDonald91 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jan 26, 2026
Copy link
Copy Markdown

@A-O-Emmanuel A-O-Emmanuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to look at the task requirements and follow it.

@A-O-Emmanuel A-O-Emmanuel added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jan 27, 2026
@MacDonald91
Copy link
Copy Markdown
Author

I now have followed the correct steps required by the task list.

  1. I added 6 sizes
  2. I added email
  3. I removed the results.html page.

@MacDonald91 MacDonald91 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 7, 2026
@cjyuan
Copy link
Copy Markdown
Contributor

cjyuan commented Feb 13, 2026

@MacDonald91 It seems you have not yet pushed the latest changes to GitHub. There is no new commits on this branch.

The most recent commit "Update project", does not include the changes you mentioned:

I added 6 sizes
I added email
I removed the results.html page.

@A-O-Emmanuel A-O-Emmanuel added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take. labels Feb 14, 2026
Copy link
Copy Markdown

@A-O-Emmanuel A-O-Emmanuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have left some comments for you.

Comment thread Form-Controls/index.html Outdated
<legend>Choose your T-shirt</legend>

<label for="name">Name:</label>
<input type="text" id="name" name="name" required />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you find another way to make sure that the name is a valid name?

Comment thread Form-Controls/index.html Outdated

<label for="colour">Colour:</label>
<select id="colour" name="colour" required>
<option value="">Select a colour</option>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

select a colour should not be one of the options

Comment thread Form-Controls/index.html Outdated

<label for="size">Size:</label>
<select id="size" name="size" required>
<option value="">Select a size</option>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

select a size should not be one of the options

Comment thread Form-Controls/index.html
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also need to ask the customer for their email, please go through the task requirements

@A-O-Emmanuel A-O-Emmanuel added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Feb 14, 2026
@MacDonald91
Copy link
Copy Markdown
Author

Thank you for the feedback.

I have updated the form to fully align with the task requirements:

Added an email input field with built-in HTML validation.

Removed the form action attribute as instructed.

Removed duplicate meta and title tags.

Fixed the nested form structure.

Updated name validation using minlength="2" to define a valid name.

Updated colour and size selects to ensure users must choose from the defined options.

Added the required six size options (XS, S, M, L, XL, XXL).

Ensured all fields are required and properly associated with labels.

The form now satisfies all specified criteria and uses only semantic HTML and CSS.

Please let me know if further refinements are needed.

@MacDonald91 MacDonald91 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 19, 2026
…e validation, remove form action, correct select options, and fix semantic structure
@cjyuan
Copy link
Copy Markdown
Contributor

cjyuan commented Feb 19, 2026

Changes look good. Well done.

@cjyuan cjyuan added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take. labels Feb 19, 2026
@github-actions
Copy link
Copy Markdown

The changed files in this PR don't match what is expected for this task.

Please check that you committed the right files for the task, and that there are no accidentally committed files from other sprints.

Please review the changed files tab at the top of the page, we are only expecting changes in this directory: ^Form-Controls/

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

@github-actions
Copy link
Copy Markdown

The changed files in this PR don't match what is expected for this task.

Please check that you committed the right files for the task, and that there are no accidentally committed files from other sprints.

Please review the changed files tab at the top of the page, we are only expecting changes in this directory: ^Form-Controls/

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

1 similar comment
@github-actions
Copy link
Copy Markdown

The changed files in this PR don't match what is expected for this task.

Please check that you committed the right files for the task, and that there are no accidentally committed files from other sprints.

Please review the changed files tab at the top of the page, we are only expecting changes in this directory: ^Form-Controls/

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

@cjyuan
Copy link
Copy Markdown
Contributor

cjyuan commented Feb 19, 2026

This branch should only contain changed files in the "Form-Controls" folder.

However, you made a commit on 9 Feb and modified Wireframe/index.html. That's why the validation bot is complaining.

The commit SHA (or hash) of the commit that modified Wireframe/index.html is dd37262.

Can you find out from ChatGPT

How to use "git restore" to revert the changes made to Wireframe/index.html by the commit with SHA dd37262?

and then revert the change made to Wireframe/index.html?

@MacDonald91 MacDonald91 closed this May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants