-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (39 loc) · 1.51 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Brian Jenney Form Challenge</title>
<link rel="icon" type="image/x-icon" href="form-icon.png">
<link rel="stylesheet" href="index.css">
<script src="app.js" defer></script>
</head>
<body>
<form id="happyForm" class="form">
<h1>My Happy Little Form</h1>
<div class="form__row">
<label for="firstName" class="form__label--hidden">First name:</label>
<input type="text" name="firstName" id="firstName" placeholder="First Name">
<label for="lastName" class="form__label--hidden">Last name:</label>
<input type="text" name="lastName" id="lastName" placeholder="Last Name">
</div>
<div class="form__row">
<label for="comment" class="form__label--hidden">Comment:</label>
<textarea name="comment" id="comment" class="form__textarea"></textarea>
</div>
<div>
<label>
Subscribe to newsletter
<input type="checkbox" name="subscribe" id="subscribe" class="form__checkbox">
</label>
</div>
<div class="form__row">
<label for="email" class="form__label--hidden">Email:</label>
<input type="text" name="email" id="email" class="form__email" placeholder="Enter your email">
</div>
<button id="submitButton" type="submit" disabled>Submit</button>
<p id="message"></p>
</form>
</body>
</html>