-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddQuestion.html
134 lines (104 loc) · 5.21 KB
/
addQuestion.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!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/reset.css">
<link rel="stylesheet" href="css/questionadd.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Add Questions</title>
</head>
<body>
<header id='myHeader'>
<div>
<img src="img/logoAnimated.gif">
</div>
<nav id='myNavbar'>
<ul>
<li>
<i class="fa fa-home" aria-hidden="true"></i>
<a href="index.html">Home</a></li>
<li>
<i class="fa fa-plus" aria-hidden="true"></i>
<a href="addQuestion.html"> Add Questions</a></li>
<li>
<i class="fa fa-address-card" aria-hidden="true"></i>
<a href="profile.html"> Profile</a>
</li>
<li>
<i class="fa fa-user" aria-hidden="true"></i>
<a href="aboutUs.html">About Us</a></li>
</ul>
</nav>
</header>
<div id="img">
<!-- <img src="img/add.png" alt="" height="80px">
<img src="img/add.png" alt="" height="80px">
<img src="img/add.png" alt="" height="80px">
<img src="img/add.png" alt="" height="80px">
<img src="img/add.png" alt="" height="80px">
<img src="img/add.png" alt="" height="80px">
<img src="img/add.png" alt="" height="80px">
<img src="img/add.png" alt="" height="80px">
<img src="img/add.png" alt="" height="80px">
<img src="img/add.png" alt="" height="80px">
<img src="img/add.png" alt="" height="80px">
<img src="img/add.png" alt="" height="80px"> -->
</div>
<div id="addQuestionDiv">
<form id="addQuestionForm">
<fieldset>
<label for="category">Category</label>
<select id="category" class="category">
<option>Math</option>
<option>General</option>
<option>Arabic</option>
<option>English</option>
</select><br>
<label for="question">Question Text</label>
<input type="text" id="question" required placeholder="Enter question's text here"><br>
<label for="imgSrc">Image    U R L</label>
<input type="text" id="imgSrc" placeholder="Paste Image URL here 'Optional'" ><br>
<label for="choiceA">Choice A        </label>
<input type="text" id="choiceA" required placeholder="Enter the first answer's text"><br>
<label for="choiceB">Choice B        </label>
<input type="text" id="choiceB" required placeholder="Enter the second answer's text"><br>
<label for="choiceC">Choice C        </label>
<input type="text" id="choiceC" required placeholder="Enter the third answer's text">
<label for="correctAnswer">Right Answer Choice</label>
<input type="text" id="correctAnswer" maxlength="1" max="C" placeholder="A,B,C" required><br><br>
</fieldset>
<div id='buttonDiv'>
<input class="addQuestionButtons" id="addQuestionButton" type="submit" value="Add Question">
<input class="addQuestionButtons" id="goToQuizButton" type="button" value="Go To Quiz"
onclick="location.href ='index.html'">
</div>
</form>
</div>
<div id="pathContainer">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">
<path fill="#000b76" fill-opacity="1"
d="M0,64L30,85.3C60,107,120,149,180,170.7C240,192,300,192,360,186.7C420,181,480,171,540,154.7C600,139,660,117,720,128C780,139,840,181,900,218.7C960,256,1020,288,1080,282.7C1140,277,1200,235,1260,197.3C1320,160,1380,128,1410,112L1440,96L1440,320L1410,320C1380,320,1320,320,1260,320C1200,320,1140,320,1080,320C1020,320,960,320,900,320C840,320,780,320,720,320C660,320,600,320,540,320C480,320,420,320,360,320C300,320,240,320,180,320C120,320,60,320,30,320L0,320Z">
</path>
</svg>
</div>
<footer>
<div id="copyRight">
© LTUC
</div>
<div>
<a href="https://www.facebook.com/"><i class="fa fa-facebook-square" aria-hidden="true"></i></a>
<a href="https://github.com/login">
<i class="fa fa-github" aria-hidden="true"></i></a>
<a href="https://www.linkedin.com/">
<i class="fa fa-linkedin-square" aria-hidden="true"></i></a>
<a href="https://ads.twitter.com/">
<i class="fa fa-twitter" aria-hidden="true"></i></a>
</div>
</footer>
<script src="js/questions.js"></script>
<script src="js/addQuestion.js"></script>
</body>
</html>