Skip to content

LONDON| MAY-2025 |SHIRIN PANAHIAN|FORM-CONTROL #544

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 1 commit 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
31 changes: 30 additions & 1 deletion Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,44 @@ <h1>Product Pick</h1>
</header>
<main>
<form>
<fieldset>
<legend>Personal Information</legend>
<label for="name">Name: </label>
<input type="text" id="name" name="name" placeholder="name" pattern="^[A-Za-z ,.'-]{2,}$" required><br><br>
<label for="Email">Email</label>
<input type="email" id="email" name="email" placeholder="Email" required>
</fieldset>
<fieldset>
<legend>t-shirt Details</legend>
<label for="colour">Choose a size:</label>
<select name="Size" id="Size" required>
<option value="">select size:</option>
<option value="XS">XS</option>
<option value="XS">S</option>
<option value="XS">M</option>
<option value="XS">L</option>
<option value="XS">Xl</option>
<option value="XS">XXL</option>
</select><br><br>
<label for="colour">Choose a colour:</label>
<select name="colour" id="colour" required>
<option value="">select colour: </option>
<option value="white">white</option>
<option value="black">black</option>
<option value="red">red</option>
</select>
</fieldset>
<!-- write your html here-->
<!--
try writing out the requirements first as comments
this will also help you fill in your PR message later-->
<button type="submit">Place Order</button>
</form>

</main>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
<h2>LONDON| MAY-2025 |SHIRIN PANAHIAN|FORM-CONTROL</h2>
</footer>
</body>
</html>