-
-
Notifications
You must be signed in to change notification settings - Fork 354
London | 26-ITP-January | Karla Grajales | Sprint 2 | Form Controls #923
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?
Changes from all commits
31b45e7
d4751b0
5c6194f
c26d36d
2933319
f092d32
1e4d266
8d4e339
bea249d
bb8181e
a5df516
76b259e
cf383d6
6d1a7c3
170708c
f7ed400
6dc97e0
08583cd
b767b75
d43bed7
adc5fc2
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 |
|---|---|---|
| @@ -1,27 +1,68 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
| <title>My form exercise</title> | ||
| <meta name="description" content="" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <h1>Product Pick</h1> | ||
| </header> | ||
| <main> | ||
|
|
||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
| <title>Retails Store Order Form</title> | ||
| <meta name="description" content="The form collects client details about their purchase, item characteristics." /> | ||
| </head> | ||
|
|
||
| <body> | ||
| <header> | ||
| <h1>T-Shirt Order Form</h1> | ||
| </header> | ||
| <main> | ||
| <div class="box-form"> | ||
| <form> | ||
| <!-- write your html here--> | ||
| <!-- | ||
| try writing out the requirements first as comments | ||
| this will also help you fill in your PR message later--> | ||
| <fieldset class="user-details"> | ||
| <legend><strong>Customer Member Details</strong></legend> | ||
| <div class="form-control"> | ||
| <label for="Username">User Name</label> | ||
| <input type="text" id="username" name="username" placeholder="Username" minlength="2" required> | ||
| </div> | ||
| <div class="form-control"> | ||
| <label for="email">Email</label> | ||
| <input type="email" id="email" name="email" placeholder="example@mail.com" required> | ||
| </div> | ||
| </fieldset> | ||
| <fieldset class="form-color"> | ||
| <legend><strong>Please select the color for your order:</strong></legend> | ||
| <ul> | ||
| <li> | ||
| <label for="red">Red</label> | ||
| <input type="radio" id="red" name="color" value="red" required /> | ||
| </li> | ||
| <li> | ||
| <label for="yellow">Yellow</label> | ||
| <input type="radio" id="yellow" name="color" value="yellow" /> | ||
| </li> | ||
| <li> | ||
| <label for="blue">Blue</label> | ||
| <input type="radio" id="blue" name="color" value="blue" /> | ||
| </li> | ||
| </ul> | ||
| </fieldset> | ||
| <fieldset> | ||
| <legend><strong>Please select your size for your order:</strong></legend> | ||
| <label for="size-selection">size:</label> | ||
| <select name="size" id="size-selection" required> | ||
| <option value="" disabled selected>Size?</option> | ||
| <option value="XS">XS</option> | ||
| <option value="S">S</option> | ||
| <option value="M">M</option> | ||
| <option value="L">L</option> | ||
| <option value="XL">XL</option> | ||
| <option value="xXL">XL</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. Small error here in your XL option. |
||
| </select> | ||
| </fieldset> | ||
| <button type="submit">Submit Order </button> | ||
| </form> | ||
| </main> | ||
| <footer> | ||
| <!-- change to your name--> | ||
| <h2>By HOMEWORK SOLUTION</h2> | ||
| </footer> | ||
| </body> | ||
| </html> | ||
| </div> | ||
| </main> | ||
| <footer> | ||
| <h2>By Karla Grajales</h2> | ||
|
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. 🤔 Considering using a different HTML element for your name within the footer. Right now, having |
||
| </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.
There is a small error here related to the
<label>and<input>elements. Can you find it?