-
-
Notifications
You must be signed in to change notification settings - Fork 456
Glasgow | ITP January-2026| Tuan Nguyen | Sprint 1| Form control #1103
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
Changes from 5 commits
e8bbf03
6ab6dd5
2b6606d
ee353eb
e6ac02a
5e42f93
7b5e8cc
8d1277c
205ba3b
9c5a249
7ec34c7
978ad11
9d9847f
ba8b66c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
| <title>My form exercise</title> | ||
| <title>Glasgow style product form</title> | ||
| <meta name="description" content="" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
| </head> | ||
|
|
@@ -17,11 +17,41 @@ <h1>Product Pick</h1> | |
| <!-- | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think these comments can be removed since their intention was to help you complete the exercise. Comments in the code can be useful for:
|
||
| try writing out the requirements first as comments | ||
| this will also help you fill in your PR message later--> | ||
| <div> | ||
| <label for="Name">Customer name:</label> | ||
| <input type="text" id="Name" name="Name" required placeholder="John Smith"> | ||
| </div> | ||
| <br> | ||
| <div> | ||
| <label for="Email">Costumer email:</label> | ||
| <input type="email" id="Email" name="Email" required placeholder="example123@gmail.com"> | ||
| </div> | ||
| <br> | ||
| <div> | ||
| <label for="Color">T-shirt color:</label> | ||
| <input type="color" id="Color" name=" Product color" required> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wow 🤩, I really like this unique choice you made with the color picker. Very interesting.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you, I choose this because I I think is easier and provide the user choice more precise.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see a leading space in the
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for point this out, this is some gramma mistake I have fix this and it shouldn't be a problem. |
||
| </div> | ||
| <div> | ||
| <br> | ||
| <label for="Size">Shirt size | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see something missing on line 36. Can you find the problem?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes I have check and see that is should be after size word and not nested the whole select element. |
||
| <select id="Size" name="Shirt size" required> | ||
| <option label="XS" value="XS"></option> | ||
| <option label="S" value="S"></option> | ||
| <option label="M" value="M"></option> | ||
| <option label="L" value="L"></option> | ||
| <option label="XL" value="XL"></option> | ||
| <option label="XXL" value="XXL"></option> | ||
| </select> | ||
| </label> | ||
| </div> | ||
| <br> | ||
| <button type="submit">Submit</button> | ||
| </form> | ||
| </main> | ||
| <hr> | ||
| <footer> | ||
| <!-- change to your name--> | ||
| <h2>By HOMEWORK SOLUTION</h2> | ||
| <h2>By Tuan Nguyen</h2> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suggest using something other than
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for the comment, I will find some other tag that are correct. |
||
| </footer> | ||
| </body> | ||
| </html> | ||
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 review the exercise requirements? Should there be changes in the README file?
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.
I have check the criteria and make some change. I am happy report that the change now fit with the course check list.