-
-
Notifications
You must be signed in to change notification settings - Fork 371
West Midlands | 26-Jan-ITP | Fida H Ali Zada | Sprint 2 | Form Controls #925
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?
Conversation
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Hi @jenny-alexander, can you please review this PR? As it has been under review for progress since yesterday. Thank you! |
|
If all the requirements are met, can you please change the review to 'complete'? |
I appreciate you wanting to move quickly on this! Just so you know, I typically try to review PRs within 24-48 hours after assigning them to myself. |
jenny-alexander
left a comment
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.
@alizada-dev - nice work with the form control exercise 👍 I can see that you have a good understanding of HTML form basics!
- Please check the accessibility rating of your form. Currently it is '89' in Lighthouse.
- I left a few comments for you to review in order to improve code quality and the 'look' of the form.
| <div> | ||
| <label for="color">Color</label> | ||
| <select name="color" id="color" required> | ||
| <option disabled>Color</option> |
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.
Can you find a way to make a placeholder text appear in the dropdown (i.e. "Color") instead of "White"?
| <footer> | ||
| <!-- change to your name--> | ||
| <h2>By HOMEWORK SOLUTION</h2> | ||
| <h5>By Fida H Ali Zada</h5> |
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.
You might want to consider using a different HTML element for your name within the footer. Right now, having <h5> in the footer will signal to screen readers that there is something new and important in the footer. In a sense, it breaks the semantic order of the page.
| </legend> | ||
| <div> | ||
| <label for="name">Name</label> | ||
| <input type="text" id="name" name="customer-name" placeholder="name" required> |
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.
Might want to consider have the placeholder name be 'Name' (uppercase) since the placeholder for email uses uppercase.
| </select> | ||
| </div> | ||
|
|
||
| <h2>T-shirt Size</h2> |
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.


Self checklist
Created an HTML form to collect the name and email address of the customers along with their size and color preferences. The form is validated with built-in HTML validation.