-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (83 loc) · 3.27 KB
/
index.html
File metadata and controls
90 lines (83 loc) · 3.27 KB
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
<!DOCTYPE html>
<html>
<head>
<title>HTML5 Quiz</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./css/style.css" type="text/css" />
<link rel="shortcut icon" href="./asset/favicon.ico" type="image/x-icon">
</head>
<body>
<div class="container">
<div>
</div>
<header style="display: flex;">
<div><img src="./asset/logo.png" width="3%"><span> HTML QUIZ</span></div>
<span>
<a href="https://rhivent.github.io">
Riventus</a>
</span>
</header>
<main>
<form class="questionForm" id="q1" data-question="1">
<h3>1. Which tag should be used to represent the "header" of a document?</h3>
<ul>
<li><input name="q1" type="radio" value="a" /><head></li>
<li><input name="q1" type="radio" value="b" /><header></li>
<li><input name="q1" type="radio" value="c" /><heading></li>
<li><input name="q1" type="radio" value="d" /><main></li>
</ul>
<button id="submit">Submit</button>
</form>
<form class="questionForm" id="q2" data-question="2">
<h3>2.Which of the following is NOT a new feature of HTML5? </h3>
<ul>
<li><input name="q2" type="radio" value="a" />New Media Elements</li>
<li><input name="q2" type="radio" value="b" />Form Types</li>
<li><input name="q2" type="radio" value="c" />Local Storage</li>
<li><input name="q2" type="radio" value="d" />Cookies</li>
</ul>
<button id="submit">Submit</button>
</form>
<form class="questionForm" id="q3" data-question="3">
<h3>3. Which element is the most appropriate to wrap around each blog post on a page?</h3>
<ul>
<li><input name="q3" type="radio" value="a" /><section></li>
<li><input name="q3" type="radio" value="b" /><post></li>
<li><input name="q3" type="radio" value="c" /><article></li>
<li><input name="q3" type="radio" value="d" /><main></li>
</ul>
<button id="submit">Submit</button>
</form>
<form class="questionForm" id="q4" data-question="4">
<h3>4. Which HTML5 tag is used for sidebar content?</h3>
<ul>
<li><input name="q4" type="radio" value="a" /><aside></li>
<li><input name="q4" type="radio" value="b" /><sidebar></li>
<li><input name="q4" type="radio" value="c" /><sub></li>
<li><input name="q4" type="radio" value="d" /><side></li>
</ul>
<button id="submit">Submit</button>
</form>
<form class="questionForm" id="q5" data-question="5">
<h3>5. Using canvas, which is used to color in a rectangle?</h3>
<ul>
<li><input name="q5" type="radio" value="a" />strokeStyle</li>
<li><input name="q5" type="radio" value="b" />fillRect</li>
<li><input name="q5" type="radio" value="c" />strokeFill</li>
<li><input name="q5" type="radio" value="d" />rectFill</li>
</ul>
<button id="submit">Submit</button>
</form>
<div id="results"></div>
<br>
</main>
<footer>
<div class="pull-left">Total: 5 Questions</div>
<div class="pull-right">Time: 2:23</div>
</footer>
</div>
<script src="js/jquery.js"></script>
<script src="js/quiz.js"></script>
</body>
</html>