-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
44 lines (43 loc) · 1.71 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quiz App - Profile</title>
<link rel="stylesheet" href="./css/style.css" />
<script
src="https://kit.fontawesome.com/57fe8f6ae1.js"
crossorigin="anonymous"
></script>
</head>
<body>
<header class="header">
<h1><a href="./index.html">Quiz App</a></h1>
</header>
<main class="main">
<h2>- Add a question -</h2>
<section>
<form action="" id="addQuestion">
<label for="question">Your question*:
<textarea name="question" class ="max150" cols="30" rows="4" placeholder="Type your question" maxlength="150" required></textarea>
<span hidden></span>
</label>
<label for="answer">Your answer*:
<textarea name="answer" class ="max150" cols="30" rows="4" placeholder="Type your answer" maxlength="150" required></textarea>
<span hidden></span>
</label>
<label for="link">Link:
<input type="text" name="link" type="url" placeholder="Provide a link (optional)"></input>
</label>
<label for=tags">Tags:
<input type="text" name="tags" placeholder="Type tags separated by comma"></input>
</label>
<button name="submit">Submit</button>
</form>
</section>
</main>
<footer class="footer">
</footer>
<script src="./js/form.js" type="module"></script>
</body>
</html>