generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (83 loc) · 4.27 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
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
<!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">
<meta name="Classification" content="Game">
<meta name="description" content="Love Maths! A game that allows users to practice their core mathematics skills in addition, subtraction, division and multiplication.">
<meta name="keywords" content="maths, game, multiplication, subtraction, addition, division, practice, mathematics, math">
<link rel="canonical" href="https://www.love-maths.keracudmore.dev/">
<!-- Social media integration -->
<!-- Facebook, LinkedIn, Google -->
<meta property="og:type" content="website">
<meta property="og:title" content="Love Maths!">
<meta property="og:description" content="Love Maths! A game that allows users to practice their core mathematics skills in addition, subtraction, division and multiplication.">
<meta name="image" property="og:image" content="documentation/site-responsive.png">
<meta property="og:image:alt" content="Love Maths! website displayed on a variety of devices">
<meta property="og:url" content="https://www.love-maths.keracudmore.dev/">
<meta property="og:site_name" content="Love Maths!">
<meta name="author" content="Kera Cudmore">
<!-- Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Love Maths!">
<meta name="twitter:description" content="Love Maths! A game that allows users to practice their core mathematics skills in addition, subtraction, division and multiplication.">
<meta name="twitter:image" content="documentation/site-responsive.png">
<meta name="twitter:image:alt" content="Love Maths! website displayed on a variety of devices">
<meta name="twitter:creator" content="@Keracudmore">
<!--favicon-->
<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">
<link rel="manifest" href="favicon/site.webmanifest">
<!--Stylesheets & 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">
<title>Love Maths!</title>
</head>
<body>
<h1 class="heading">
<img class="logo" src="assets/images/logo.png" alt="logo">Love Maths
</h1>
<!--Game Area-->
<main class="game-area">
<div class="controls-area">
<button data-type="addition" class="btn btn--big btn--green" title="Addition">
<i aria-hidden="true" class="fas fa-plus"></i>
<span class="sr-only">Addition</span>
</button>
<button data-type="subtract" class="btn btn--big btn--blue" title="Subtraction">
<i aria-hidden="true" class="fas fa-minus"></i>
<span class="sr-only">Subtraction</span>
</button>
<button data-type="multiply" class="btn btn--big btn--orange" title="Multiply">
<i aria-hidden="true" class="fas fa-times"></i>
<span class="sr-only">multiply</span>
</button>
<button data-type="division" class="btn btn--big btn--red" title="Division">
<i aria-hidden="true" class="fas fa-divide"></i>
<span class="sr-only">Division</span>
</button>
</div>
<!--Question Area-->
<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>
<label for="answer-box"><span class="sr-only">Answer box</span></label>
<input id="answer-box" type="number">
<button data-type="submit" class="btn btn--gray">Submit Answer</button>
</div>
</main>
<!--Score Area-->
<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>