Birmingham | may-2026-itp | Alexandra Clincu | Sprint 1 | Form Controls - #1285
Birmingham | may-2026-itp | Alexandra Clincu | Sprint 1 | Form Controls#1285AlexandraClincu28 wants to merge 3 commits into
Conversation
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This comment has been minimized.
This comment has been minimized.
| <label for="colour">Choose a colour:</label> | ||
| <select id="colour" name="colour" required> | ||
| <option value="">Select a colour</option> | ||
| <option value="black">Black</option> | ||
| <option value="white">White</option> | ||
| <option value="blue">Blue</option> | ||
| </select> |
There was a problem hiding this comment.
It might be nice to wrap this in a fieldset tag as it can create a bit of structure around a part of the form that is related to one idea, or separate an element out
| <label for="size">Choose a size:</label> | ||
| <select id="size" name="size" required> | ||
| <option value="">Select a size</option> | ||
| <option value="XS">XS</option> | ||
| <option value="S">S</option> | ||
| <option value="M">M</option> | ||
| <option value="L">L</option> | ||
| <option value="XL">XL</option> | ||
| <option value="XXL">XXL</option> | ||
| </select> |
There was a problem hiding this comment.
It might be nice to also wrap this in a fieldset tag
| <label for="name">Name:</label> | ||
| <input type="text" id="name" name="name" required minlength="2" /> |
There was a problem hiding this comment.
Nice work - I do get the right level of strictness here 🎉
| <label for="name">Name:</label> | ||
| <input type="text" id="name" name="name" required minlength="2" /> | ||
| <label for="email">Email:</label> | ||
| <input type="email" id="email" name="email" required /> |
There was a problem hiding this comment.
good validation of email by using the type field
Poonam-raj
left a comment
There was a problem hiding this comment.
Good work here - this is complete, I would advise to make this even better by adding fieldsets but otherwise looks great
|
Closing PR because the May ITP run has finished. Feel free to re-open if you're still working on it. |

Learners, PR Template
Self checklist
Changelist
I created a valid HTML form with name, email, colour and size inputs using HTML form controls and validation.