Skip to content

NW-ITP | Mohammed Alzaki | Form controls | Week2 #279

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 36 additions & 6 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,46 @@
<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 class="t-shirt-form">
<section class="user-info">
<div class="user-name">
<label for="name ">Name: </label>
<input type="text" name ="name" id="name" placeholder="username" required>
</div>
<br>
<div class="user-email">
<label for="email ">Email:</label>
<input type="email" name ="email" id="email" placeholder="Enter your email" required>
</div>
</section>
<br>
<section class="t-shirt-colour-selection">
<label for="t-shirt-colour">T shirt color</label>
<select name="t-shirt-colour" id="t-shirt-colour">
<option value="Black">Black</option>
<option value="white">White</option>
<option value="Grey">Grey</option>
</select>
</section>
<br>
<section class="t-shirt-size-selection">
<label for="t-shirt-size">T shirt Size</label>
<select name="t-shirt-size" id="t-shirt-size">
<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>
</section>
<br>
<button type="submit">Submit</button>
</form>
</main>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
<h2>By Mohammed alzaki</h2>
</footer>
</body>
</html>