-
Notifications
You must be signed in to change notification settings - Fork 15
Brussels | itp-2025-1 | Tam Huynh | Onboarding | Coursework/form-controls branch #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Brussels | itp-2025-1 | Tam Huynh | Onboarding | Coursework/form-controls branch #53
Conversation
|
Right now you have two duplicate pull requests. Either make sure this pull request only includes changes of the form controls task, or close the duplicate pull request |
| this will also help you fill in your PR message later--> | ||
| <label for="name">What's your name?</label> | ||
| <br> | ||
| <input type="text" name="text" id="name" minlength="3" required placeholder="yourName"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name field should allow 2 or more characters, not 3 or more
| <br> | ||
| <input type="email" id="mail" name="mail" required placeholder="example@domain.com" pattern="^[^@\s]+@[^@\s]+\.[^@\s]+$"> | ||
|
|
||
| <p>What color do you like?</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The colour options should be grouped using semantic html. Wrap the radio buttons using fieldset and legend
|
|
||
| <label for="mail">What's your email?</label> | ||
| <br> | ||
| <input type="email" id="mail" name="mail" required placeholder="example@domain.com" pattern="^[^@\s]+@[^@\s]+\.[^@\s]+$"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure all related inputs are grouped together with fieldset and legend, i.e. name and email
Learners, PR Template
Self checklist
Changelist
Briefly explain your PR.
Questions
Ask any questions you have for your reviewer.