generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (49 loc) · 2.03 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
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- font awesome and google fonts -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"
integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Raleway%7CRighteous" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css">
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
<title>Love Math!</title>
</head>
<body>
<h1 class="heading">
<img class="logo" src="assets/images/logo.png" alt="logo"> Love Maths
</h1>
<div class="game-area">
<div class="controls-area">
<button data-type="addition" class="btn btn--big btn--green">
<i class="fas fa-plus"></i>
</button>
<button data-type="substract" class="btn btn--big btn--blue">
<i class="fas fa-minus"></i>
</button>
<button data-type="multiply" class="btn btn--big btn--orange">
<i class="fas fa-times"></i>
</button>
<button data-type="division" class="btn btn--big btn--red">
<i class="fas fa-divide"></i>
</button>
</div>
<div class="question-area">
<span id="operand1">0</span>
<span id="operator">x</span>
<span id="operand2">0</span>
<span>=</span>
<p class="answer-message">Enter Answer:</p>
<input id="answer-box" type="number">
</div>
<button data-type="submit" class="btn btn--gray">Submit Answer</button>
</div>
<div class="score-area">
<p class="scores">Correct Answers <span id="score">0</span></p>
<p class="scores">Incorrect Answers <span id="incorrect">0</span></p>
</div>
<script src="assets/js/script.js"></script>
</body>
</html>