-
-
Notifications
You must be signed in to change notification settings - Fork 472
WestMidlands | 26-ITP-Jan | Tasleem Adedokun | Sprint 2 | Feature/form control #1101
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 11 commits
3ba23d6
ec50a32
27d2d2c
0f70c02
6f0531b
5135547
0b357b3
8279037
d0eae65
609dcff
0359f59
a1e86ca
96611b3
548516b
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 |
|---|---|---|
|
|
@@ -6,22 +6,71 @@ | |
| <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> | ||
| <h1>T-Shirt Choice</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--> | ||
| <p>Please complete all required (*) fields</p> | ||
| <section> | ||
| <P> | ||
| <label for="name">NAME *:</label> | ||
| <input type="text" id="name" name="fullname" required> | ||
| </P> | ||
| <P> | ||
| <label for="mail">EMAIL *:</label> | ||
| <input type="email" id="mail" name="user-mail" required> | ||
| </P> | ||
| </section> | ||
|
|
||
|
|
||
| <section> | ||
| <h2> Colour</h2> | ||
|
|
||
|
|
||
| <fieldset> | ||
|
|
||
| <legend>CHOICE</legend> | ||
|
|
||
| <label> | ||
| <input type="radio"name="choice" value="G" required> GREEN | ||
|
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 space missing between
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 very much done. |
||
| </label> | ||
|
|
||
| <label> | ||
| <input type="radio"name="choice" value="B"> BLUE | ||
| </label> | ||
|
|
||
| <label> | ||
| <input type="radio"name="choice" value="R"> RED | ||
| </label> | ||
|
|
||
| </fieldset> | ||
| </section> | ||
| <section> | ||
| <h2>Size</h2> | ||
| <label for="size"> Size</label> | ||
| <select id="size" name="size" required> | ||
| <option value=""> SELECT </option> | ||
| <option value="xtra-small">XS</option> | ||
| <option value="small">S</option> | ||
| <option value="medium">M</option> | ||
| <option value="large">L</option> | ||
| <option value="xtra-large">XL</option> | ||
| <option value="double-xtra-large">XXL</option> | ||
| </select> | ||
| </section> | ||
|
|
||
| </form> | ||
| </main> | ||
| <p> | ||
| <button>SUBMIT</button> | ||
|
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 you added the submit button. This is good however the submit button is currently outside of the form. |
||
| </p> | ||
|
|
||
| <footer> | ||
| <!-- change to your name--> | ||
| <h2>By HOMEWORK SOLUTION</h2> | ||
| <p><em> TASLEEM ADEDOKUN</em></p> | ||
| </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.
Should the tag be
<p>or<P>? Can you research online and find the correct casing?