-
Notifications
You must be signed in to change notification settings - Fork 0
/
forms.html
64 lines (64 loc) · 2 KB
/
forms.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./css/global.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
/>
<title>QuizApp</title>
<script src="./JavaScript/index.js" defer></script>
<script src="./JavaScript/forms.js" defer></script>
</head>
<body data-js="body">
<header class="header">
<h1 class="header__title">Quiz App</h1>
</header>
<main>
<form class="quiz-form" data-js="quiz-form">
<fieldset>
<label for="question">Your question:</label>
<textarea
id="question"
name="question"
rows="4"
required
data-js="question"
></textarea>
<label for="answer">Your answer:</label>
<textarea
id="answer"
name="answer"
rows="4"
required
data-js="answer"
></textarea>
<label for="tag">Tag:</label>
<input type="text" id="tag" name="tag" required data-js="tag" />
<button class="button__submit" type="submit">Submit</button>
</fieldset>
</form>
<ul class="card__list" data-js="card__list"></ul>
</main>
<footer>
<nav class="navigation">
<ul class="navigation__list">
<li class="list__item">
<a href="index.html"><i class="fas fa-home fa-2x"></i></a>
</li>
<li class="list__item">
<a href="bookmarks.html"><i class="fas fa-bookmark fa-2x"></i></a>
</li>
<li class="list__item" active>
<a href="forms.html"><i class="fa-solid fa-plus fa-2x"></i></a>
</li>
<li class="list__item">
<a href="profile.html"><i class="fas fa-user fa-2x"></i></a>
</li>
</ul>
</nav>
</footer>
</body>
</html>