-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmultiplicationgame.html
More file actions
48 lines (45 loc) · 2.03 KB
/
multiplicationgame.html
File metadata and controls
48 lines (45 loc) · 2.03 KB
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
<!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">
<link rel="stylesheet" href="style.css">
<title>Multiplication Game</title>
</head>
<body>
<div id="gamesec">
<video autoplay muted loop id="myVideo">
<source src="Vj Loops - 32745.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
<div id="highscore">High Score: 0</div>
<div id="currentscore" type="text">Current Score: 0</div><br>
<h1 id="heading">What is the Answer?</h1>
<div id="operation">0 × 0</div>
<div id="time" hidden>
Time Left:
</div>
<div id="buttonDiv">
<button id="btn1" onclick="checkAnswer(1)" style="font-size: 25px">0</button>
<button id="btn2" onclick="checkAnswer(2)" style="font-size: 25px">0</button>
<button id="btn3" onclick="checkAnswer(3)" style="font-size: 25px">0</button>
<button id="btn4" onclick="checkAnswer(4)" style="font-size: 25px">0</button>
<!-- <button id="upbtn" onclick="up()" style="font-size: 30px; align-items: center">+</button>
<button id="downbtn" onclick="down()" style="font-size: 30px; align-items: center">-</button><br>
<button id="startbtn" onclick="start()" style="font-size: 30px; align-items: center">START GAME</button>
<button id="resetbtn" onclick="reset()" style="font-size: 30px; align-items: center">RESET</button>-->
</div>
<div id="startbtnDiv">
<button id="startbtn" onclick="start()">START</button>
<a href="index.html">
<img src="home.png" alt="homeicon" width="60" height="80">
</a>
</div>
<audio id="myAudio" >
<source src="beep audio.mp3" type="audio/mp3">
</audio>
</div>
</body>
<script src="multiply.js"></script>
</html>