Skip to content
Closed
Show file tree
Hide file tree
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
33 changes: 28 additions & 5 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<!DOCTYPE html>
<html lang="en">
<head>
Expand All @@ -13,15 +14,37 @@ <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-->
<!--
Requirements:
- Ask for the user's name (text input)
- Ask for the user's email (email input)
- Let the user pick a product (dropdown/select)
- Let the user select a quantity (number input)
- Add a submit button
-->
<label for="name">Name:</label>
<input type="text" id="name" name="name" required />

<label for="email">Email:</label>
<input type="email" id="email" name="email" required />

<label for="product">Choose a product:</label>
<select id="product" name="product" required>
<option value="">Select...</option>
<option value="notebook">Notebook</option>
<option value="pen">Pen</option>
<option value="eraser">Eraser</option>
</select>

<label for="quantity">Quantity:</label>
<input type="number" id="quantity" name="quantity" min="1" value="1" required />

<button type="submit">Submit</button>
</form>
</main>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
<h2>By Meseret</h2>
</footer>
</body>
</html>
5 changes: 1 addition & 4 deletions Wireframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ <h1>Wireframe</h1>
<article>
<img src="placeholder.svg" alt="" />
<h2>Title</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
voluptates. Quisquam, voluptates.
</p>

<a href="">Read more</a>
</article>
</main>
Expand Down
Loading