-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
113 lines (106 loc) · 3.57 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!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="icon" href="./assets/images/web-page-icon.png">
<title>Web Dev Quiz Game</title>
<meta
property="og:title"
content="Take this short quiz game to test your knowledge about the Developers' world!👨🏻💻"
/>
<meta
property="og:description"
content="Quiz game developed in the third week of the Web Development Bootcamp at Ironhack São Paulo, to practice JavaScript, HTML, CSS and GitHub."
/>
<meta property="og:type" content="article" />
<meta
property="og:url"
content="https://t-minini.github.io/project-one-game/"
/>
<meta property="og:image" content="./assets/images/quiz-game.png" />
<!-- CSS ONLY -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor"
crossorigin="anonymous"
/>
<!-- FONT -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap"
rel="stylesheet"
/>
<!-- CSS LINKED FILE -->
<link rel="stylesheet" href="./assets/style/style.css" />
</head>
<!-- GAME SCREEN CARD -->
<body>
<section class="game-card">
<div id="win-and-over-imgs">
<div id="you-win-img" class="hide">
<img
src="./assets/images/you-win.png"
alt="you win image"
class="you-win-img"
/>
<button type="button" id="restart-btn" class="restart-btn-win btn">
RESTART
</button>
</div>
<div id="game-over-img" class="hide">
<img
src="./assets/images/game-over.png"
alt="game over image"
class="game-over-img"
/>
<button id="restart-btn-over" class="restart-btn-over btn">
RESTART
</button>
</div>
</div>
<div class="game-logo-start" id="game-logo-start">
<img src="./assets/images/game-logo.png" alt="game logo" />
</div>
<div id="start-game" class="start-game">
<button type="button" class="start-btn btn">START GAME</button>
</div>
<div id="question-box" class="hide">
<div id="question"></div>
<div id="answer-opt" class="answer-box">
<button class="btn answer-btn">Option 1</button>
<button class="btn answer-btn">Option 2</button>
<button class="btn answer-btn">Option 3</button>
<button class="btn answer-btn">Option 4</button>
</div>
</div>
<!-- HEART IMGS -->
<div id="hearts">
<img
src="./assets/images/three-hearts.png"
alt="three hearts"
class="hide-heart"
id="three-heart"
/>
<img
src="./assets/images/two-hearts.png"
alt="two hearts"
class="hide-heart"
id="two-heart"
/>
<img
src="./assets/images/one-heart.png"
alt="one heart"
class="hide-heart"
id="one-heart"
/>
</div>
</section>
<!-- JS LINKED FILES -->
<script src="./assets/scripts/index.js"></script>
<script src="./assets/scripts/game.js"></script>
</body>
</html>