-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditQuestion.html
More file actions
47 lines (43 loc) · 1.79 KB
/
editQuestion.html
File metadata and controls
47 lines (43 loc) · 1.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="stylesheet" href="./assets/css/style.css">
<title>Admin-Quiz</title>
</head>
<body>
<div class="container ">
<main class="addQuestions">
<h1>Edit Question</h1>
<div class="errors hide"></div>
<form action="" id = "form">
<input hidden name="id" id="id" >
<div>
<label for="question">Question</label>
<textArea name="question" id="question" rows="4" ></textArea>
</div>
<div>
<label for="choices">Enter choices(Separated by comma)</label>
<textArea rows="4" cols="5"type="text" name="choices" id="choices"></textArea>
</div>
<div>
<label for="answer_index">Answer index(index starts from zero)</label>
<input type="number" name="answer_index" id="answer_index">
</div>
<div>
<label for="info">Info(Give some information/clue for the user)</label>
<textArea rows="4" cols="5" type="text " name="info" id="info"></textArea>
</div>
<button class="submit_question">Submit</button>
<div class="button-container">
<a href="admin.html">Go Back</a>
</div>
</form>
</main>
</div>
<script src="assets/js/editQuestion.js"></script>
</body>
</html>