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
90 lines (81 loc) · 2.57 KB
/
index.html
File metadata and controls
90 lines (81 loc) · 2.57 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!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>
<!-- write your html here-->
<div class="form">
<div>
<label for="fullname"> full name:</label><br />
<input required type="text" id="fullname" name="fullname" minlength="3" /><br />
</div>
<div>
<label for="email">email:</label>
<br />
<input
required
type="email"
id="email"
name="email"
pattern=" /^\\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$/;"
/>
<br />
</div>
<div>
<fieldset required>
<legend>Pick you colour:</legend>
<div>
<input checked type="radio" id="blue" name="color" value="Blue" />
<label for="blue">Blue</label>
<input type="radio" id="green" name="color" value="green" />
<label for="green">Green</label>
<input type="radio" id="red" name="color" value="red" />
<label for="red">Red</label>
</div>
</fieldset>
</div>
<div>
<label for="size">Choose your T-shirt size:</label><br />
<select name="size" id="size">
<option value="XS">extra small</option>
<option value="S">small</option>
<option value="M">medium</option>
<option value="L">large</option>
<option value="XL">x-large</option>
<option value="XXL">2XL</option>
</select>
</div>
<div>
<label for="start">pick your delevery date</label><br />
<input
required
type="date"
id="start"
name="calendar"
value="2023-03-23"
min="2023-03-13"
max="2024-03-13"
/><br />
</div>
<button class="button" role="button">Submit</button>
</div>
<!-- try writing out the requirements first-->
</form>
</main>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
</footer>
</body>
</html>