-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (36 loc) · 1.26 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Name Collection Form</title>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<h1>Enter Your Name</h1>
<form action="/submit" method="post">
<fieldset>
<legend>Section 1</legend>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="text" id="email" name="email" required>
</fieldset>
<fieldset>
<legend>Section 2</legend>
<div class="section">
<div class="section-header">Question 1</div>
<div class="section-description">This is a description for question 1.</div>
<label for="question1">Answer:</label>
<textarea id="question1" name="question1" rows="4" required></textarea>
</div>
<div class="section">
<div class="section-header">Question 2</div>
<div class="section-description">This is a description for question 2.</div>
<label for="question2">Answer:</label>
<textarea id="question2" name="question2" rows="4" required></textarea>
</div>
</fieldset>
<input type="submit" value="Submit">
</form>
</body>
</html>