-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
126 lines (119 loc) · 4.82 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!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" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Raleway&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/main.css">
<script src="https://kit.fontawesome.com/0869152999.js" crossorigin="anonymous" defer></script>
<title>Survey Form</title>
</head>
<body>
<main class="card row">
<div id="left-side" class="column">
<h1 id="title">Favorite Social Media</h1>
<p id="description"> <strong>Social media</strong> are interactive digital channels that facilitate the creation
and sharing of information, ideas, interests, and other forms of expression through virtual communities and
networks.</p>
<img src="images/survey-image.png" alt="survey form image" id="image">
</div>
<div id="right-side" class="column row">
<form action="response.html" method="get" id="survey-form">
<div class="row">
<div class="column">
<label for="name" id="name-label">Name</label> <br>
<input type="text" name="name" id="name" placeholder="John Doe" required> <br>
</div>
<div class="column">
<label for="email" id="email-label">Email Address</label> <br>
<input type="email" name="email" id="email" placeholder="example@email.com" required> <br>
</div>
</div>
<div class="row">
<div class="column">
<label for="number" id="number-label">Age</label> <br>
<input type="number" name="" id="number" placeholder="How old are you?" min="13" max="100"> <br>
</div>
<div class="column">
<label for="gender" id="gender-label">Gender</label>
<br>
<select name="gender" id="gender">
<option value="Male">Male</option>
<option value="Female">Female</option>
<option value="Other">Other</option>
</select>
</div>
</div>
<div class="row">
<div class="column">
<label for="radio" id="radio-label">1. Which is your most preferred Social Media?</label> <br>
<div>
<label for="rb-facebook">
<input type="radio" name="radio" value="Facebook" id="rb-facebook" required>
<i class="fa-brands fa-facebook"></i>
Facebook
</label>
<br>
<label for="rb-twitter">
<input type="radio" name="radio" value="Twitter" id="rb-twitter">
<i class="fa-brands fa-twitter-square"></i>
Twitter
</label>
<br>
<label for="rb-instagram">
<input type="radio" name="radio" value="Instagram" id="rb-instagram">
<i class="fa-brands fa-instagram-square"></i>
Instagram
</label>
<br>
</div>
</div>
</div>
<div class="row">
<div class="column">
<label for="checkbox" id="checkbox-label">2. Which device you used?</label> <br>
<div>
<label for="cb-smartphone">
<input type="checkbox" name="checkbox" id="cb-smartphone">
<i class="fa-solid fa-mobile-screen"></i>
Smartphone
</label>
<br>
<label for="cb-tablet">
<input type="checkbox" name="checkbox" id="cb-tablet">
<i class="fa-solid fa-tablet-screen-button"></i>
Tablet
</label>
<br>
<label for="cb-laptop">
<input type="checkbox" name="checkbox" id="cb-laptop">
<i class="fa-solid fa-laptop"></i>
Laptop
</label>
<br>
<label for="cb-desktop">
<input type="checkbox" name="checkbox" id="cb-desktop">
<i class="fa-solid fa-computer"></i>
Desktop
</label>
<br>
</div>
</div>
</div>
<div class="row">
<div class="column">
<label for="message" id="message-label">3. What makes this social media different from the others?</label>
<br>
<textarea name="message" id="message" placeholder="Explain briefly in a short sentence." cols="60"
rows="5"></textarea>
</div>
</div>
<div><button id="submit" class="btn">Submit</button></div>
</form>
</div>
</main>
</body>
</html>