Skip to content

London|May-2025| Ping-Wang|Form controls #712

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 13 commits into
base: main
Choose a base branch
from
Open
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
101 changes: 76 additions & 25 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
@@ -1,27 +1,78 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>My form exercise</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<header>
<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>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
</footer>
</body>
</html>

<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>My form exercise</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>

<body>
<header>
<h1>Product Pick</h1>
</header>
<form>
<div>
<label for="name"> Name</label>
<input type="text" name="name" id="name" required pattern=".*\S.*" title="Name cannot be empty or contain only spaces.">
</div>
<br>
<div>
<label for="email">Email</label>
<input type="email" name="email" id="email" required>
</div>
<br>
<div>
<label for="color">Color</label>
<select name="color" id="color" required>
<option value=""> Select </option>
<option value="red">Red</option>
<option value="white">White</option>
<option value="black">Black</option>
</select>
</div>
<br>
<div>
<p>Size</p>
<label for="xs">XS</label>
<input type="radio" name="size" id="xs" value="xs">
</div>
<br>
<div>
<label for="s">S</label>
<input type="radio" name="size" id="s" value="s">
</div>
<br>
<div>
<label for="m">M</label>
<input type="radio" name="size" id="m" value="m">
</div>
<br>
<div>
<label for="l">L</label>
<input type="radio" name="size" id="l" value="l">
</div>
<br>
<div>
<label for="xl">XL</label>
<input type="radio" name="size" id="xl" value="xl">
</div>
<br>
<div>
<label for="xxl">XXL</label>
<input type="radio" name="size" id="xxl" value="xxl">
</div>


<br>

<button type="submit"> Submit</button>
</form>

<footer>
<p>ITP-MAY-2015|ping wang| onboarding form controls </p>
</footer>
</body>
</html>
33 changes: 0 additions & 33 deletions Wireframe/index.html

This file was deleted.