This repository was archived by the owner on Oct 2, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 461
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (61 loc) · 1.8 KB
/
index.html
File metadata and controls
62 lines (61 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!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">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Product Pick</h1>
</header>
<main>
<form>
<div>
<label for="name">Name</label>
<input id="name" type="text" name="name" placeholder="Please enter full name"
pattern="[A-za-z\s]{1,}"
required />
<label for="email">E-mail</label>
<input id="email" type="text" name="email"
placeholder="Please enter your email address" required />
</div>
<div>
<fieldset>
<legend>Choose colour</legend>
<input id="red" type="radio" name="color" value="red" checked />
<label for="red">Red</label>
<input id="white" type="radio" name="color" value="white" />
<label for="white">White</label>
<input id="blue" type="radio" name="color" value="blue" />
<label for="blue">Blue</label>
</fieldset>
</div>
<div>
<fieldset>
<legend>Choose size</label>
<select id="size" name="size" required>
<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>
</fieldset>
</div>
<fieldset class="delivery_box">
<legend>Choose Delivery Date</legend>
<label for="delivery">Delivery</label>
<input type="date" id="delivery" name="delivery" placeholder="DD-MM-YYYY" value="" min="2023-05-05" max="2023-06-02" required />
<button>Submit</button>
</form>
</main>
<footer>
<h2>By Andrius Isin</h2>
</footer>
</body>
</html>