-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
Changes from 1 commit
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 |
|---|---|---|
|
|
@@ -12,16 +12,51 @@ | |
| <h1>Product Pick</h1> | ||
| </header> | ||
| <main> | ||
| <form> | ||
| <!-- write your html here--> | ||
| <!-- | ||
| try writing out the requirements first as comments | ||
| this will also help you fill in your PR message later--> | ||
| </form> | ||
| <form><libel for="name">Customer name:</libel><br> | ||
| <input | ||
| type="text" | ||
| id="name" | ||
| title="Name must contain only letters and spaces"><br><br> | ||
|
|
||
| <label for="email">Email Address</label> | ||
| <br> | ||
| <input | ||
| type="email" | ||
| id="email" | ||
| name="email" | ||
| required> | ||
| <br><br> | ||
|
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. also come up with a better way to check if Email address is a valid email address.
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. Done✅ |
||
| <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 commentThe reason will be displayed to describe this comment to others. Learn more.
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. Fixed 👍 |
||
| <option value="Pink">Pink</option> | ||
| <option value="Aqua">Aqua</option> | ||
| <option value="White">White</option> | ||
| </select> | ||
| <br><br> | ||
| <fieldset> | ||
| <legend>T-Shirt Size</legend> | ||
| <input type="radio" id="xs" name="size" value="xs"> | ||
| <label for="xs">xs</label> | ||
| <input type="radio" id="s" name="size" value="s"> | ||
| <label for="s">s</label> | ||
| <input type="radio" id="m" name="size" value="m"> | ||
| <label for="m">m</label> | ||
| <input type="radio" id="l" name="size" value="l"> | ||
| <label for="l">l</label> | ||
| <input type="radio" id="xl" name="size" value="xl"> | ||
| <label for="xl">xl</label> | ||
| <input type="radio" id="xxl" name="size" value="xxl"> | ||
| <label for="xxl">xxl</label> | ||
|
|
||
| </fieldset> | ||
|
|
||
| </form> | ||
| </main> | ||
| <footer> | ||
| <!-- change to your name--> | ||
| <h2>By HOMEWORK SOLUTION</h2> | ||
| <!-- Fattouma Ouannassi--> | ||
| <h2>Fattouma Ouannassi</h2> | ||
| </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 come up with a better way to check if customer name is a valid name?
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.
Done✅