-
-
Notifications
You must be signed in to change notification settings - Fork 432
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (83 loc) · 2.36 KB
/
index.html
File metadata and controls
90 lines (83 loc) · 2.36 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="A product selection form to collect customer preferences and delivery details."
>
<meta name="viewport" content="width=device-width, initial-scale=1" >
</head>
<body>
<header>
<h1>Product Pick</h1>
</header>
<main>
<form>
<section>
<h2>Customer information</h2>
<label>
Name:
<input
pattern="[A-Za-z\s]{2,}"
required
title="Please enter your name with at least two letters."
>
</label>
<label>
Email:
<input
type="email"
required
title="Please enter a valid email address."
autocomplete="on"
>
</label>
</section>
<section>
<h2>Choose Colour</h2>
<label>
<input type="radio" name="colour" value="gold" required >
Gold
</label>
<label>
<input type="radio" name="colour" value="silver" required >
Silver
</label>
<label>
<input type="radio" name="colour" value="diamond" required >
Diamond
</label>
</section>
<section>
<h2>Choose Size</h2>
<label for="size">
Size:
<select id="size" name="size" required>
<option value="" disabled selected>Select a size</option>
<option value="xs">Extra Small</option>
<option value="s">Small</option>
<option value="m">Medium</option>
<option value="l">Large</option>
<option value="xl">Extra Large</option>
<option value="xxl">Extra Extra Large</option>
</select>
</label>
</section>
<section>
<h2>Choose Delivery Date</h2>
<label>
Delivery Date:
<input type="date" min="2025-01-01" max="2025-12-31" required >
</label>
</section>
<button type="submit">Submit Details</button>
</form>
</main>
<footer>
<p>© 2025 Abayie</p>
</footer>
</body>
</html>