Skip to content

Commit abf9de6

Browse files
made some required attributes
1 parent f8c3552 commit abf9de6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Form-Controls/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>My form exercise</title>
77
<meta name="description" content="" />
88
<meta name="viewport" content="width=device-width, initial-scale=1" />
9-
<link rel="stylesheet" href="style.css" />
9+
<link rel="stylesheet" href="index.css" />
1010
</head>
1111
<body>
1212

@@ -43,7 +43,7 @@ <h1>Product Pick</h1>
4343

4444
<p>
4545
<div>
46-
<input type="radio" name="color" id="colour_1">
46+
<input type="radio" name="color" id="colour_1" required>
4747
<label for="colour_1">Red</label>
4848
</div>
4949
<div>
@@ -65,8 +65,8 @@ <h1>Product Pick</h1>
6565
<legend>Shirt Size Options</legend>
6666

6767
<p>
68-
<select name="size" id="size" aria-label="Shirt Size Options">
69-
<option value="so">Please Select an Option</option>
68+
<select name="size" id="size" aria-label="Shirt Size Options" required>
69+
<option value="">Please Select an Option</option>
7070
<option value="xs">Extra Small</option>
7171
<option value="s">Small</option>
7272
<option value="m">Medium</option>

0 commit comments

Comments
 (0)