-
-
Notifications
You must be signed in to change notification settings - Fork 267
London ITP- Jan25 | Shohreh Bayat | Onboarding-Form Control | Week 2 #194
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
0e49556
448d7eb
89957d9
60740d6
29354d8
5a1832b
bc29ce0
5d3adb5
8bb275e
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 | ||||
---|---|---|---|---|---|---|
|
@@ -3,8 +3,8 @@ | |||||
<head> | ||||||
<meta charset="utf-8" /> | ||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||||||
<title>My form exercise</title> | ||||||
<meta name="description" content="" /> | ||||||
<title>Shohreh's form exercise</title> | ||||||
<meta name="description" content="Product Pick" /> | ||||||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||||||
</head> | ||||||
<body> | ||||||
|
@@ -13,15 +13,47 @@ <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> Personal details </legend> | ||||||
<div> | ||||||
<label for="name">Name</label> | ||||||
<input type="text" name="name" id="name" placeholder="type your full name" required minlength="2"> <br> <br> | ||||||
</div> | ||||||
<div> | ||||||
<label for="email">E-mail</label> | ||||||
<input type="email" name="email" id="email" placeholder="e.g., user@example.com" required > <br> <br> | ||||||
</div> | ||||||
</fieldset> <br> | ||||||
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. What is this br tag trying to do?
Suggested change
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 Sally, I was trying to create space so that it shows better on the website. Considering that we are not allowed to use CSS, |
||||||
<fieldset> | ||||||
<legend>T-shirt information</legend> | ||||||
<div> | ||||||
<label for="colour"> Colour</label> | ||||||
<select name="colour" id="colour" required> | ||||||
<option value="select a colour"></option> | ||||||
<option value="Red">Red</option> | ||||||
<option value="Green">Green</option> | ||||||
<option value="White"> White </option> | ||||||
</select> <br><br> | ||||||
</div> | ||||||
<div> | ||||||
<label for="size">Size</label> | ||||||
<select name="size" id="size" required> | ||||||
<option value="select a 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"> XXL</option> | ||||||
</select> | ||||||
</div> | ||||||
</fieldset> <br> | ||||||
|
||||||
<button type="submit">Submit</button> | ||||||
</form> | ||||||
</main> | ||||||
<footer> | ||||||
<!-- change to your name--> | ||||||
<h2>By HOMEWORK SOLUTION</h2> | ||||||
<h2>By Shohreh Bayat for CYF</h2> | ||||||
</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.
Love the fieldsets, you legend! ⭐
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.
Thank you, Sally ⭐