-
-
Notifications
You must be signed in to change notification settings - Fork 397
Glasgow| 26-ITP-Jan|Fattouma Ouannassi| Sprint 2 | Form Controls #1000
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
<!-- You must title your PR like this: Region | Cohort | FirstName LastName | Sprint | Assignment Title For example, London | 25-ITP-May | Carol Owen | Sprint 1 | Alarm Clock Fill in the template below - remove any sections that don't apply. Complete the self checklist - replace each empty box in the checklist [ ] with a [x]. Add the label "Needs Review" and you will get review. Respond to volunteer reviews until the volunteer marks it as "Complete". --> ## Learners, PR Template Self checklist - [x] I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title - [x] My changes meet the requirements of the task - [x] I have tested my changes - [x] My changes follow the [style guide](https://curriculum.codeyourfuture.io/guides/reviewing/style-guide/) ## Changelist This PR includes modifications to the HTML file to create an order form for customers to order T-Shirts. [✓] My form is semantic html. [✓] All inputs have associated labels. [✓] My Lighthouse Accessibility score is 100. [✓] I require a valid name. I have defined a valid name as a text string of two characters or more. [✓] I require a valid email. [✓] I require one colour from a defined set of 3 colours. [✓] I require one size from a defined set of 6 sizes. ## Questions /
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| type="text" | ||
| id="name" | ||
| title="Name must contain only letters and spaces"><br><br> | ||
|
|
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 come up with a better way to check if customer name is a valid name?
| id="email" | ||
| name="email" | ||
| required> | ||
| <br><br> |
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.
also come up with a better way to check if Email address is a valid email address.
| <label for="colour">T-Shirt Colour:</label> | ||
| <br> | ||
| <select id="colour" name="colour"required> | ||
| <option value="select a colour">Select a colour</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.
select a colour is not supposed to be part of the option value
A-O-Emmanuel
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.
This is a good attempt, please look at the comments and work on them, good job!

Learners, PR Template
Self checklist
Changelist
This PR includes modifications to the HTML file to create an order form for customers to order T-Shirts.
[✓] My form is semantic html.
[✓] All inputs have associated labels.
[✓] My Lighthouse Accessibility score is 100.
[✓] I require a valid name. I have defined a valid name as a text string of two characters or more.
[✓] I require a valid email.
[✓] I require one colour from a defined set of 3 colours.
[✓] I require one size from a defined set of 6 sizes.
Questions
/