-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (75 loc) · 4.43 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
<!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">
<meta name="author" content="zerozero_username" />
<meta name="description" content="freecodecamp project" />
<meta name="content" content="survey page" />
<title>Survey Page</title>
<link href="scss/grid.css" rel="stylesheet">
<link href="scss/main.css" rel="stylesheet">
</head>
<body class="body">
<div class="page">
<form id="survey" class="form">
<fieldset class="fieldset card">
<section class="section card-content">
<h1 id="title" class="title card-title">SURVEY</h1>
<p id="description" class="description">* Required fields</p>
<fieldset class="fieldset card-fields">
<label id="name-label" for="name" class="card-label">name</label>
<input type="text" class="txt" required placeholder="insert your name" id="name">
<br>
<label id="email-label" for="email" class="card-label">email</label>
<input type="email" class="txt" required pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$" placeholder="insert your email" id="email">
<br>
<label id="number-label" for="number" class="card-label">ID</label>
<input type="number" class="txt" required pattern=“^[0–9]$” min="1" max="99" placeholder="user ID" id="number">
</fieldset>
<fieldset class="fieldset card-fields">
<label class="card-label">choose a color</label>
<select id="dropdown" class="dropdown menu">
<option value="black" class="menu-item">black</option>
<option value="white" class="menu-item">white</option>
<option value="red" class="menu-item">red</option>
<option value="blue" class="menu-item">blue</option>
<option value="yellow" class="menu-item">yellow</option>
</select>
<br><br>
<label class="card-label">choose an animal</label>
<br>
<label class="card-icons" for="opt-1"> 🐱
<input type="radio" class="radio" value="cat" name="btn-radio" id="opt-1"></label>
<label class="card-icons" for="opt-2"> 🐶
<input type="radio" class="radio" value="dog" name="btn-radio" id="opt-2"></label>
<label class="card-icons" for="opt-3"> 🦊
<input type="radio" class="radio" value="fox" name="btn-radio" id="opt-3"></label>
<label class="card-icons" for="opt-4"> 🐬
<input type="radio" class="radio" value="dolphin" name="btn-radio" id="opt-4"></label>
<br><br>
<label class="card-label">choose one or more symbols</label>
<br>
<label class="card-icons" for="check-1"> 📼
<input type="checkbox" class="checkbox" value="1" id="check-1" name="btn-check"></label>
<br>
<label class="card-icons" for="check-2"> 🕹
<input type="checkbox" class="checkbox" value="2" id="check-2" name="btn-check"></label>
<br>
<label class="card-icons" for="check-3"> 📻
<input type="checkbox" class="checkbox" value="3" id="check-3" name="btn-check"></label>
<br>
<label class="card-icons" for="check-4"> 📺
<input type="checkbox" class="checkbox" value="4" id="check-4" name="btn-check"></label>
<br><br><br>
<textarea spellcheck="true" class="card-txt-area" placeholder="Comments (optional)"></textarea>
<br>
<button type="submit" id="submit">SEND</button>
</fieldset>
</section>
</fieldset>
</form>
</div>
</body>
</html>