generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
57 lines (48 loc) · 2.75 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="Quiz me, Sailor!" content="Boat Licence Practice Test">
<link rel="stylesheet" href="assets/css/style.css">
<title>Quiz me Sailor!</title>
<!--favicon links from https://favicon.io/ -->
<link rel="apple-touch-icon" sizes="180x180" href="favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png">
</head>
<body>
<header>
<div class="header-inner">
<img id= "background-image" src="assets/images/logo-welcome-aboard-compressed.jpg" alt="background-image-sailor-salute">
<div class="header-text">
<h1 id="logo">Quiz me Sailor!</h1>
<h1 id="quiz-header">General Boat Licence Practice Test</h1>
</div>
</div>
</header>
<main class="wrapper">
<section class="container-index">
<div class="content">
<!-- Short introduction and user name field and the start button are included here -->
<p id ="short-intro">
The General Boat Licence Practice Test is a requirement for anyone wishing to obtain their
General Sailing license. The Practice test is designed to ensure that the candidate has a good
knowledge of the law and safety practices applicable when operating a recreational or commercial vessel in preparation to
the actual test. In order to pass the test and become a skipper, the candidate needs to get a minimum of 70% correct.</p>
<h5 id="quiz-header-subtitle">10 questions per test | 70% to pass</h5>
<label class="contact_line" for="fname">Sailor Name</label>
<input class="contact_input" type="text" id="fname" name="firstname" placeholder="Enter your name, Sailor!" required>
<!-- the start button redirects the user to the quiz page -->
<div id="start-btn">
<button id="start-quiz-btn" type="submit" onClick="saveName()">Start the Quiz</button>
</div>
<!-- Invalide data input message incase the user enters special quaracters or just spaces for example as a userame.-->
<div id="message" class="message"></div>
</div>
</section>
</main>
<script src="assets/js/script.js"></script>
</body>
</html>