Skip to content

Conversation

@codebydolz
Copy link

@codebydolz codebydolz commented Feb 3, 2026

Learners, PR Template

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

added the needed answers to form controls

@netlify
Copy link

netlify bot commented Feb 3, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit d069432
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6987719d49dbe100085b02d3
😎 Deploy Preview https://deploy-preview-1127--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: 100 (no change from production)
SEO: 91 (🟢 up 5 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.

@codebydolz codebydolz added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 3, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 3, 2026
@codebydolz codebydolz changed the title WestMidlands | 26-ITP-Jan | Adedolapo Bamiduro | Form Controls WestMidlands | 26-ITP-Jan | Adedolapo Bamiduro | Sprint 2 | Form Controls Feb 3, 2026
@github-actions

This comment has been minimized.

@Poonam-raj Poonam-raj added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 3, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 3, 2026
@codebydolz codebydolz added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 3, 2026
Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

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

  • According to https://validator.w3.org/, there are some warnings in your code. Can you address them?

  • Currently a user can submit the form without filling in all input.

  • Common practice is to keep the label of a radio button on the right (instead of at the bottom)

Image
  • Note: Embedded CSS is still CSS. Supposedly the requirement says "No CSS", but you can keep them.

Comment on lines 51 to 58
<select name="size" id="size">
<option value="XS">Extra Small</option>
<option value="S">Small</option>
<option value="M">Medium</option>
<option value="L">Large</option>
<option value="XL">Extra Large</option>
<option value="XXL">Extra Extra Large</option>
</select>
Copy link
Contributor

Choose a reason for hiding this comment

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

There is a way to configure a <select> element so that no option is selected by default, allowing the user to make an explicit choice.

Copy link
Author

Choose a reason for hiding this comment

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

done @cjyuan

Comment on lines 64 to 65
<input type="radio" name="color" id="color-blue" value="Blue">
<label for="color-blue">Blue</label>
Copy link
Contributor

Choose a reason for hiding this comment

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

We won't need to use id and for if we encode this as:

<label>
  <input type="radio" name="color" value="Blue">
  Blue
</label>

Comment on lines 77 to 80
<div class="form-row">
<label for="password">Password</label>
<input type="password" name="password" id="password" required aria-required="true">
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

I am glad that you are trying different things, but I think it is weird to include a password input field in a T-shirt ordering form. :)

@cjyuan cjyuan 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 Feb 6, 2026
@codebydolz codebydolz added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Feb 7, 2026
Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

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

1

Can you improve the Lighthouse Accessibility score to 100?
Image

You may find a way to overcome this issue in #cyf-questions-support channel on Slack.

2

According to https://validator.w3.org/, there are errors in your code. Can you fix them?

@cjyuan cjyuan 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 Feb 7, 2026
@codebydolz
Copy link
Author

i think i have successfully updated the lighthouse @cjyuan

@codebydolz codebydolz added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Feb 7, 2026
@cjyuan
Copy link
Contributor

cjyuan commented Feb 7, 2026

Changes look good. Well done.

According to https://validator.w3.org/, there are some warnings in your code. Can you address them? I will mark this PR "Complete" first.

@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. labels Feb 7, 2026
@codebydolz
Copy link
Author

Hello, i have been trying to find the error in the code, but i cant seem to find it.

@cjyuan
Copy link
Contributor

cjyuan commented Feb 8, 2026

I mentioned "warnings", not "errors".

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