Skip to content

Commit f180233

Browse files
committed
Reorganise form structure in index.html to enhance user details and color selection sections
1 parent f5867c9 commit f180233

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,26 @@ <h1>Product Pick</h1>
2121
<legend>Your details</legend>
2222
<div class="form-row">
2323
<label for="name">Full name</label>
24+
<input type="text" id="name" name="name" pattern=".*\S.*\S.*" required placeholder="Enter fullname here">
25+
</div>
26+
<div class="form-row">
27+
<label for="email">Email address</label>
28+
<input type="email" id="email" name="email" required placeholder="Enter Email address here">
29+
</div>
30+
</fieldset>
31+
<fieldset>
32+
<legend> Choose a color</legend>
33+
<div class="form-row radio-row">
34+
<input type="radio" id="color-black" name="color" value="black" required>
35+
<label for="color-black">Black</label>
36+
</div>
37+
<div class="form-row radio-row">
38+
<input type="radio" id="color-white" name="color" value="white" required>
39+
<label for="color-white">White</label>
40+
</div>
41+
<div class="form-row radio-row">
42+
<input type="radio" id="color-blue" name="color" value="blue" required>
43+
<label for="color-blue">Blue</label>
2444
</div>
2545
</fieldset>
2646
</form>

0 commit comments

Comments
 (0)