-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquiz.html
50 lines (44 loc) · 1.74 KB
/
quiz.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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Basic HTML and CSS Quiz</title>
<link rel="stylesheet" href="styles/quiz.css">
</head>
<body>
<header>
<h1>Basic HTML and CSS Quiz</h1>
</header>
<main>
<form>
<fieldset>
<div class="form-item">
<label for="q1">1. What does the acronym CSS stand for? <input type="text" name="q1" id="q1"></label>
</div>
<div class="form-item">
<label for="q2">2. How are id and class attributes selected in CSS?</label>
<textarea name="q2" id="q2" rows="4"></textarea>
</div>
<div class="form-item">
<label for="q3">3. Which of the following is a valid CSS comment?</label>
<select name="q3" id="q3">
<option value="" selected disabled>Choose one...</option>
<option value="option1">/* This is a comment */</option>
<option value="option2">"This is a comment"</option>
<option value="option3">#This is a comment</option>
</select>
</div>
<div class="form-item">
<label for="q4">4. How thick is a border given <code>border: 1px;</code></label>
<input type="number" step="1" name="q4" id="q4">
</div>
</fieldset>
<button type="submit">Submit Quiz</button>
</form>
</main>
<footer>
<p>©2024 | Basic HTML and CSS Quiz | Steven Thomas</p>
</footer>
</body>
</html>