-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (47 loc) · 1.71 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
<!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>Document</title>
<title>Survey Form</title>
<link rel="stylesheet" href="style.css">
<body>
<h1 id="title">Survey Form</h1>
<p id="description">Please fill out the form below to let us know your thoughts and feedback.</p>
<form id="survey-form">
<label id="name-label" for="name">Name:</label>
<input id="name" type="text" placeholder="Enter your name" required>
<br>
<label id="email-label" for="email">Email:</label>
<input id="email" type="email" placeholder="Enter your email" required>
<br>
<label id="number-label" for="number">Number:</label>
<input id="number" type="number" min="1" max="10" placeholder="Enter a number between 1 and 10" required>
<br>
<label for="dropdown">Select an option:</label>
<select id="dropdown">
<option value="option1">Option 1</option>
<option value="option2">Option 2</option>
</select>
<br>
<label>Radio buttons:</label>
<br>
<input type="radio" name="radio" value="radio1" checked> Radio 1
<br>
<input type="radio" name="radio" value="radio2"> Radio 2
<br>
<label>Checkboxes:</label>
<br>
<input type="checkbox" name="checkbox" value="checkbox1"> Checkbox 1
<br>
<input type="checkbox" name="checkbox" value="checkbox2"> Checkbox 2
<br>
<textarea placeholder="Enter your comments"></textarea>
<br>
<button id="submit" type="submit">Submit</button>
</form>
</head>
</body>
</html>