Files
silly-quiz-app/index.html
2023-12-03 18:04:12 +02:00

60 lines
2.0 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Quiz App</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="./css/bootstrap.min.css">
<link rel="stylesheet" href="./style.css">
<!-- Place favicon.ico in the root directory -->
<script src="./js/bootstrap.bundle.min.js"></script>
<script src="./index.js"></script>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">
You are using an <strong>outdated</strong> browser. Please
<a href="http://browsehappy.com/">upgrade your browser</a> to improve
your experience.
</p>
<![endif]-->
<h1> Quiz App </h1>
<div class="container" id="privacy-violation">
<!-- Name ID etc -->
<form action="javascript:;">
<label class="form-label" for="sName"> Student Name </label>
<input class="form-control" type="text" id="sName", name="sName">
<br>
<label class="form-label" for="sId"> Student ID </label>
<input class="form-control" type="text" id="sId", name="sid">
<br>
<button onclick="nameSubmit()" type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
<div id="quiz-screen">
<!-- The quiz itself -->
<div id="question">
<!-- Question card -->
</div>
<div id="choices">
<!-- Awesome for loop for answers -->
</div>
<div id="score-screen">
<p id="sInfo"></p>
<!-- End of quiz screen-->
</div>
<div id="controls">
<!-- the things for submit and previous questions -->
</div>
</body>
</html>