Skip to content

Commit b3b1bc8

Browse files
authored
fixing errors
1 parent 1b55bf1 commit b3b1bc8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,14 @@ <h1>Product Pick</h1>
5959
<style>
6060
input:invalid{background: rgb(253, 251, 253);}
6161
input:valid{background: rgb(253, 251, 253);}
62-
</style>
62+
</style>
63+
<label>
6364
Enter your email:
6465
<input type="email" placeholder="Enter your email" required>
6566
</p>
6667
<!--The input type="email" is used so the browser can validatae the email address format-->
6768
<!--the style tag is used to style the input box. CSS pseudo-classes :valid or :invalid to check if the email is valid and notify the user-->
68-
69+
</label>
6970
<label> <input type="submit"> <input type="resit">
7071
</label>
7172
</form>

0 commit comments

Comments
 (0)