-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (67 loc) · 2.55 KB
/
index.html
File metadata and controls
73 lines (67 loc) · 2.55 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
64
65
66
67
68
69
70
71
72
73
<!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">
<title>Memory Game</title>
<link rel="stylesheet" href="main-styles.css">
</head>
<body>
<div class="container">
<div class="innercontainer flexbox">
<header>
<img src="./images/brain-cartoon.png" alt="Mascot" />
<h1>Memory Game</h1>
</header>
<section class="description">
<h2>Let's Play a Game!</h2>
<p>Welcome! We have an exciting game for you to play! Here are the rules to follow:</p>
<ul>
<li>You start out with a defined score.</li>
<li>Each unsuccessful match will reduce your score by 5.</li>
<li>Don't let your score or time go below 0 or it's GAME OVER!</li>
<li>When you pass a level, you'll receive additional points.</li>
</ul>
</section>
<section class="level-title"><h2>Choose your Level:</h2></section>
<section class="game-btns">
<button id="child" type="button">Children</button>
<button id="adult" type="button">Adults</button>
</section>
</div>
<div id="children-popup" class="panel-overlay-main">
<div class="popup">
<a class="child-close close" href=# >×</a>
<div class="content-1">
<h2>Level 1 of 3</h2></div>
<div class="content-2">
<p>On each level before the game starts, you will have a few seconds to see the location of the cards before they flip, are you ready to test your memory? If yes, please enter your name and press Start. </p>
</div>
<div class="content-2">
<input type="text" id="chname" placeholder="Name" >
</div>
<button id="start-children">Start</button>
</div>
</div>
<div id="adult-popup" class="panel-overlay-main">
<div class="popup">
<a class="adult-close close" href=# >×</a>
<div class="content-1">
<h2>Level 1 of 5</h2>
</div>
<div class="content-2">
<p>On each level before the game starts, you will have a few seconds to see the location of the cards before they flip, are you ready to test your memory? If yes, please enter your name and press Start. </p>
</div>
<div class="content-2">
<input type="text" id="name" placeholder="Name">
</div>
<button id="start-adult">Start</button>
</div>
</div>
</div>
<script src="main.js"></script>
<script src="script-adults.js"></script>
<script src="script-children.js"></script>
</body>
</html>