-
-
Notifications
You must be signed in to change notification settings - Fork 500
London | ITPMay2026 | Mahbubur Rahman | Sprint 1 | Form Controls #1267
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 1 commit
08b7b55
5e99b77
2ffa1bd
6773491
d178a2f
39ec8c8
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,12 +13,36 @@ <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> | ||
| </main> | ||
| <div> | ||
| <label for="name">Name</label> | ||
| <input type="text" name="name" id"Name" placeholder="name"> | ||
| </div> | ||
| <div> | ||
| <lable type="text" for= "email">email</lable> | ||
| <input type="email" id="email" pattern=".&@yahoo.co.uk" size="30" required /> | ||
|
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. Have you tested that this pattern works? 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. @mahbubur13 Have you seen this comment?
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. I have corrected the email verification |
||
| </div> | ||
| <p>Please select favourite colour:</p> | ||
| <input type="radio" id="red" name="fav_color" value"red"> | ||
| <label for="red">Red</label><br> | ||
| <input type="radio" id="blue" name="fav_color" value"blue"> | ||
| <label for="blue">Blue</label><br> | ||
| <input type="radio" id="green" name="fav_color" value"green"> | ||
| <label for="green">Green</label><br> | ||
| <div> | ||
|
Comment on lines
+24
to
+34
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.
Note: Your formatting is already very good. Using a formatter with "Format on Save" would save you time, ensure 100% consistency, and automatically clean up things like trailing whitespace and unnecessary empty lines. This also helps keep Git diffs and pull requests cleaner by reducing formatting-only changes, making it easier to review the actual code changes. For more info about enabling "Format on save" option on VS Code, please refer to this guide. |
||
| <p> Please select your relevant size</p> | ||
| <label for="clothing-size">Choose a size:</label> | ||
| <select id="clothing-size" name="size"> | ||
| <option value="xs"> XS - Extra Small</option> | ||
| <option value="s">S - Small</option> | ||
| <option value="m" selected>M - Medium</option> | ||
| <option value="l">L - Large</option> | ||
| <option value="xl">XL - Extra Large</option> | ||
| </select> | ||
| </div> | ||
| <button type="reset">Reset</button> | ||
| <button type="submit">Submit</button> | ||
| </form> | ||
| </main> | ||
|
mahbubur13 marked this conversation as resolved.
|
||
| <footer> | ||
| <!-- change to your name--> | ||
| <p>By HOMEWORK SOLUTION</p> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.