-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
110 lines (99 loc) · 5.13 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!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" />
<meta name="author" content="JessIxAM" />
<title>customer satisfaction survey</title>
<link rel="shortcut icon" href="./images/favicon.jpg" type="image/x-icon" />
<!-- stylesheet -->
<link rel="stylesheet" href="css/style.css" />
<!-- fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Hammersmith+One&family=Roboto+Slab:wght@300;400;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="bg-left"></div>
<div class="bg-right"></div>
<div class="wrapper flex">
<div class="introduction flex">
<h1 id="title">customer <br /><span class="clear">satisfaction</span> survey</h1>
<p id="description"> We always want to improve—could you help us out for a few minutes and let us know about your shopping experience? </p>
</div>
<form class="flex" action="" id="survey-form">
<div class="form-item flex">
<label for="name" id="name-label">Name: </label>
<input type="text" id="name" name="name" required placeholder="Your Name">
</div>
<div class="form-item flex">
<label for="email" id="email-label">email: </label>
<input type="email" id="email" name="email" required placeholder="Your email">
</div>
<div class="form-item flex">
<label for="number" id="number-label">number of cats:</label>
<input type="number" id="number" name="numcats" min="1" max="10">
</div>
<div class="form-item flex">
<p>Where did they sleep the most?</p>
<div class="radio-div">
<div class="form-item-group">
<label for="bed">Bed </label>
<input name="sleep" id="bed" type="radio" value="bed" checked>
</div>
<div class="form-item-group">
<label for="sofa">Sofa </label>
<input name="sleep" id="sofa" type="radio" value="sofa">
</div>
<div class="form-item-group">
<label for="chair">Chair </label>
<input name="sleep" id="chair" type="radio" value="chair">
</div>
</div>
</div>
<div class="form-item flex">
<select name="mark" id="dropdown">
<option value selected disabled> Which mark do your cat like to eat?</option>
<optgroup label="Big cats">
<option value="ipsum">Ipsum</option>
<option value="lorem">Lorem</option>
<option value="tandem">Tandem</option>
</optgroup>
<optgroup label="Small cats">
<option value="tandem">Dolor</option>
<option value="vlagae"> Vlagae </option>
<option value="metasil"> Metasil</option>
</optgroup>
</select>
</div>
<div class="form-item flex checkbox-div-container">
<p class="space"> Which of our products have you already purchase?</p>
<div class="checkbox-div">
<input type="checkbox" name="ch" id="ch1" value="ch1">
<label for="ch1">Banana Balls</label>
</div>
<div class="checkbox-div">
<input type="checkbox" name="ch" id="ch2" value="ch2">
<label for="ch2">Cat Chewi-chewi</label>
</div>
<div class="checkbox-div">
<input type="checkbox" name="ch" id="ch3" value="ch3">
<label for="ch3">Rolling Thunder</label>
</div>
<div class="checkbox-div">
<input type="checkbox" name="ch" id="ch4" value="ch4">
<label for="ch3">Cat Princess Set</label>
</div>
</div>
<div class="form-item flex">
<p style="margin-top: 3rem; margin-bottom: 1rem;">Do you have any special needs?</p>
<textarea name="comment" id="comment" placeholder="Please leave a comment"></textarea>
</div>
<div class="form-item">
<button type="submit" id="submit">Submit</button>
</div>
</form>
</div>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
</body>
</html>