-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (65 loc) · 2.19 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link href="./styles/style.css" rel="stylesheet" type="text/css">
<title>Dreamy Pet Survey</title>
</head>
<body>
<main class="main">
<h1 class="title">The pet of my dreams</h1>
<p class="text">
This survey wants to know which pet you have been dreaming.
</p>
<p class="text">
Please answer the following questions. Your answers are so important to
us. Thank you :)
</p>
<p class="text">Filds marked with (*) are required.</p>
<form>
<fieldset class="fieldset">
<legend>Personal Information</legend>
<label for="name" class="label">Name*:</label>
<input
type="text"
class="field"
name="name"
id="name"
required
placeholder="Name"
/>
<label for="email" class="label">Email*:</label>
<input
type="text"
class="field"
name="email"
id="email"
required
placeholder="Email"
/>
<label for="age" class="label">Age*:</label>
<input type="text" class="field" name="age" id="age" min="18" required
placeholder="Age"
</fieldset>
<fieldset class="fieldset">
<legend>Survey Information:</legend>
<p class="question">1. What is your dram pet?</p>
<select name="dream-pet" id="dream-pet">
<option value="">Please select an opition</option>
<option value="dog">Dog</option>
<option value="cat">Cat</option>
<option value="hamster">Hamster</option>
<option value="horse">Horse</option>
</select>
</p>
<input type="radio" name="color" value="pink"><label>Pink</label>
</fieldset>
<input type="submit" value="submit" />
</form>
<small class="copyright">by Juliana Comin</small>
</main>
<script src="./js/script.js"></script>
</body>
</html>