-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
90 lines (87 loc) · 2.6 KB
/
form.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
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 lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quiz App</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;500&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="styles.css" />
<script src="./componants/Form/Form.js" type="module" defer></script>
</head>
<body>
<header role="header">
<h1 class="app-name">Quiz App</h1>
</header>
<main role="main">
<form data-js="form">
<label for="question">New Question</label>
<textarea
name="question"
id="question"
rows="5"
maxlength="150"
data-js="question"
></textarea>
<display data-js="counterQuestion" class="counter"
>150 characters left</display
>
<label for="answer">The Answer</label>
<textarea
name="answer"
id="answer"
rows="5"
class="answer-field"
maxlength="150"
data-js="answer"
></textarea>
<display data-js="counterAnswer" class="counter"
>150 characters left</display
>
<label for="tag">#Tag</label>
<input type="text" name="tag" id="tag" class="tag-field" />
<button class="submitButton" type="submit" data-js="submitButton">
Submit
</button>
</form>
</main>
<!-- Navigation Bottom -->
<nav class="nav-bottom">
<ul class="ul-nav-bottom">
<li class="inactive flex">
<a class="link" href="index.html"
><img
class="icon home"
src="/images/home-icon-dark.png"
alt="home icon"
/></a>
</li>
<li class="inactive flex">
<a class="link" href="bookmark-page.html"
><img
class="icon"
src="/images/bookmark-icon-dark.png"
alt="bookmark icon"
/></a>
</li>
<li class="active flex">
<a class="link" href="#">
<img class="icon" src="images/Plusicon-light.png" alt="add icon" />
</a>
</li>
<li class="inactive flex">
<a class="link" href="profile.html"
><img
class="icon"
src="images/profile-icon-dark.png"
alt="profil icon"
/></a>
</li>
</ul>
</nav>
</body>
</html>