-
-
Notifications
You must be signed in to change notification settings - Fork 350
West Midlands | ITP-September-2025 | Mustaf Asani | Sprint 2 | Form-Controls #889
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 6 commits
7a94f84
c1706b8
530ed3e
fea07a8
42f9646
c0068d5
a56975a
c306966
4b89c84
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 |
|---|---|---|
|
|
@@ -13,15 +13,48 @@ <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--> | ||
| <fieldset> | ||
| <legend><h2>Personal Information</h2></legend> | ||
| <p> | ||
| <label for="firstname">Firstname:</label> | ||
| <input type="text" id="firstname" pattern=".*\S.*" title="firstname must not be only spaces" name="firstname" required minlength="2" /> | ||
| <Label for="lastname">Lastname:</Label> | ||
| <input type="text" id="lastname" pattern=".*\S.*" title="lastname must not be only spaces" name="lastname" required minlength="2" /> | ||
|
||
| </p> | ||
| <p> | ||
| <label for="email">Email:</label> | ||
| <input type="email" id="email" name="email" required /> | ||
| </p> | ||
| </fieldset> | ||
| <fieldset> | ||
| <legend><h2>Product Information</h2></legend> | ||
|
||
| <p> | ||
| <label for="colour">Colour:</label> | ||
| <select id="colour" name="colour" required> | ||
| <option value="" disabled selected>Select a colour</option> | ||
| <option value="red">Red</option> | ||
| <option value="green">Green</option> | ||
| <option value="blue">Blue</option> | ||
| </select> | ||
| </p> | ||
| <p> | ||
| <label for="size">Size:</label> | ||
| <select id="size" name="size" required> | ||
| <option value="" disabled selected>Select a size</option> | ||
| <option value="xsmall">X-Small</option> | ||
| <option value="small">Small</option> | ||
| <option value="medium">Medium</option> | ||
| <option value="large">Large</option> | ||
| <option value="xlarge">X-Large</option> | ||
| <option value="xxlarge">XX-Large</option> | ||
| </select> | ||
| </p> | ||
| </fieldset> | ||
|
||
| </form> | ||
| </main> | ||
| <footer> | ||
| <!-- change to your name--> | ||
| <h2>By HOMEWORK SOLUTION</h2> | ||
| <h2>By Mustaf Asani</h2> | ||
| </footer> | ||
| </body> | ||
| </html> | ||
Uh oh!
There was an error while loading. Please reload this page.
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.
do you think the legend tag can just have the text string without the h2 tag or have another inline tag like strong to replace h2 to make it bold?