-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (68 loc) · 2.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="mole, whack, whack the mole, whack whatever you want, hit, punch, game" name="keywords">
<meta content="Inspired by the whack the mole game. I present you whack whatever you want. In this game, you will be able to upload any photo that you wanna whack and replace the mole with it." name="description">
<meta name="copyright" content="Luciano Canziani" />
<meta name="author" content="Luciano Canziani" />
<title>Whack A Mole!</title>
<link rel="icon" href="./img/mole.svg">
<link
href="https://fonts.googleapis.com/css2?family=Amatic+SC:wght@700&family=Koulen&family=Open+Sans:wght@300&display=swap"
rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/6ee8edf255.js" crossorigin="anonymous"></script>
</head>
<body>
<header>
<div class="nav">
<h1 class="tittle">Golpea-lo-que-tu-quieras</h1>
<div class="game-hidden" id="navItems">
<button class="btn change-photo" onClick="changePhoto()">Cambiar Foto</button>
<div class="score">0</div>
<a id="start" class="btn start">Empezar!</a>
</div>
</div>
</header>
<div class="container">
<div class="image-hide">
<div class="drag-area show">
<div class="icon"><i class="fas fa-cloud-upload-alt"></i></div>
<h3>Arrastra y Suelta la Foto que Quieras Golpear</h3>
<span>O</span>
<button>Buscar Foto</button>
<input type="file" hidden>
</div>
<div class="go-game-container show-on-load" hidden>
<button class="btn go-game" onClick="displayGame()">Ir al Juego</button>
</div>
</div>
<div class="game game-hide">
<div class="holes">
<div class="hole hole1">
<img class="mole">
</div>
<div class="hole hole2">
<img class="mole">
</div>
<div class="hole hole3">
<img class="mole">
</div>
<div class="hole hole4">
<img class="mole">
</div>
<div class="hole hole5">
<img class="mole">
</div>
<div class="hole hole6">
<img class="mole">
</div>
</div>
</div>
</div>
<script src="./main.js"></script>
</body>
</html>