-
-
Notifications
You must be signed in to change notification settings - Fork 463
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 6 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,72 @@ | |
| <title>My form exercise</title> | ||
| <meta name="description" content="" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
| <link rel="stylesheet" href="styles.css"> | ||
| </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> | ||
| <ul> | ||
|
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. |
||
| <li> | ||
| <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> | ||
| </li> | ||
|
|
||
| <li> | ||
| <label> | ||
| <input type="radio"name="choice" value="B"> BLUE | ||
| </label> | ||
| </li> | ||
| <li> | ||
| <label> | ||
| <input type="radio"name="choice" value="R"> RED | ||
| </label> | ||
| </li> | ||
| </ul> | ||
| </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> | ||
|
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. For your |
||
| <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> | ||
| <footer> | ||
| <!-- change to your name--> | ||
| <h2>By HOMEWORK SOLUTION</h2> | ||
| <h2>TASLEEM ADEDOKUN</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. Using
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.
Hi @jenny-alexander , However, I have a question? Before I added the CSS, my Lighthouse score was not 100%. Can I get 100% without CSS?
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. You're doing a great job 😀 Absolutely you can get a 100% accessibility score on Lighthouse without using CSS. What accessibility issues were you getting? Did you try to ask AI (ChatGPT, Gemini, Claude, etc) about the accessibility issue?
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. Hi @jenny-alexander , thank you very much i have done all neccesary changes. |
||
| </footer> | ||
| </body> | ||
| </html> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| label { | ||
| display: inline-block; | ||
| padding: 6px 8px; | ||
| } | ||
|
|
||
| button, | ||
| select, | ||
| input { | ||
| min-height: 30px; | ||
| } |

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?