You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<inputtype="text" minlength="2" id="name" name="name" requiredpattern=".*\S.*" title="Name must be at least 2 characters long, cannot be empty or just spaces">
30
+
<!-- Name: at least 2 characters -->
31
+
<labelfor="name">Name:</label>
32
+
<input
33
+
type="text"
34
+
minlength="2"
35
+
id="name"
36
+
name="name"
37
+
required
38
+
pattern=".*\S.*"
39
+
title="Name must be at least 2 characters long, cannot be empty or just spaces"
40
+
/>
35
41
</div>
36
42
<div>
37
43
<!-- Email: basic format text@text.text -->
38
44
<labelfor="email">Email:</label>
39
-
<inputtype="email" id="email" name="email" title="Enter a valid email like user@example.com">
45
+
<input
46
+
type="email"
47
+
id="email"
48
+
name="email"
49
+
title="Enter a valid email like user@example.com"
50
+
/>
40
51
</div>
41
-
<div>
52
+
<div>
42
53
<!-- Colour choice: red, blue, green -->
43
54
<labelfor="colour">Colour:</label>
44
55
<selectid="colour" name="colour" required>
@@ -59,17 +70,15 @@ <h1>Product Pick</h1>
59
70
<optionvalue="L">L</option>
60
71
<optionvalue="XL">XL</option>
61
72
<optionvalue="XXL">XXL</option>
62
-
</select>
63
-
</div>
64
-
73
+
</select>
74
+
</div>
65
75
66
76
<buttontype="submit">Submit</button>
67
77
</form>
68
78
</main>
69
79
<footer>
70
-
<!-- change to your name-->
71
-
<h2>
72
-
By Damian Dunkley for Code your Future ITP Jan 2026 Sprint 2</h2>
80
+
<!-- changed to my name and course-->
81
+
<h2>By Damian Dunkley for Code your Future ITP Jan 2026 Sprint 2</h2>
0 commit comments