-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (34 loc) · 1.37 KB
/
index.html
File metadata and controls
63 lines (34 loc) · 1.37 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head>
<title>Exercise</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="styling.css">
<script>
</script>
</head>
<body>
<!-- --------------SECTION FOR INOUT WINDOW ----------------- -->
<div id="question-box">
<p>Please enter a subject:</p>
<input id="keywordInput" type="text">
<div id="buttons-container">
<button value="8" onclick="currentGame.updateAmountOfCards(8);">Easy</button>
<button value="12" onclick="currentGame.updateAmountOfCards(12);">Medium</button>
<button value="24" onclick="currentGame.updateAmountOfCards(24);">Hard</button>
</div>
<button id="submit" onclick="currentGame.initiateGame();">Start Game</button>
</div>
<!-- --------------YOU WON WINDOW ----------------- -->
<div id="won-box">
<p>YOU WON</p>
<button id="submit" onclick="currentGame.hideWin();">Play Again</button>
</div>
<!-- --------------SECTION FOR GAME----------------- -->
<div id="container-game">
<!--Content will be generated here-->
</div>
</body>
<script src="script.js"></script>
<script>var game1 = new cardGame(2);</script>
</html>