-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
123 lines (116 loc) · 3.74 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
114
115
116
117
118
119
120
121
122
123
<!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" />
<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=Nabla&family=Press+Start+2P&display=swap"
rel="stylesheet"
/>
<title>Guess South America Country</title>
</head>
<body>
<main>
<section>
<div class="box-flag">
<img
class="flag"
src="IMG/argentina-flag-medium.jpg"
alt="argentina-flag"
/>
<img
class="flag"
src="IMG/bolivia-flag-medium.jpg"
alt="bolivia-flag"
/>
<img
class="flag"
src="IMG/brazil-flag-medium.jpg"
alt="brazil-flag"
/>
<img class="flag" src="IMG/chile-flag-medium.jpg" alt="chile-flag" />
<img
class="flag"
src="IMG/colombia-flag-medium.jpg"
alt="colombia-flag"
/>
<img
class="flag"
src="IMG/ecuador-flag-medium.jpg"
alt="ecuador-flag"
/>
</div>
</section>
<h1>Guess The South America Country</h1>
<div class="grid-game">
<div class="how-play">
<p class="how-play-title">How to Play</p>
<div class="how-play-text">
<p>
This is a fun game where you have 3 chances to guess one of the 12
South American countries.
</p>
<p>
The game offers a restart option anytime, making it an enjoyable
challenge for players.
</p>
<p>Have fun while testing your knowledge about South America!</p>
</div>
</div>
<div class="box-game">
<div class="box-guess-score">
<p class="message">🕵️♂️ Start guess!</p>
<label class="country" for="guess-country">?</label>
<input type="text" class="guess" name="guess-country" />
<div class="box-btn">
<button class="btn game">Game</button>
<button class="btn again">Re-Start</button>
</div>
<div class="score-box">
<p class="score">💯 Score: <span class="num-score">3</span></p>
<p class="hightscore">
🥇 Hightscore:<span class="num-highscore">0</span>
</p>
<p class="wrong-guess">Your guess</p>
</div>
</div>
</div>
</div>
<section>
<div class="box-flag">
<img
class="flag"
src="IMG/guyana-flag-medium.jpg"
alt="guyana-flag"
/>
<img
class="flag"
src="IMG/paraguay-flag-medium.jpg"
alt="paraguay-flag"
/>
<img class="flag" src="IMG/peru-flag-medium.jpg" alt="peru-flag" />
<img
class="flag"
src="IMG/suriname-flag-medium.jpg"
alt="suriname-flag"
/>
<img
class="flag"
src="IMG/uruguay-flag-medium.jpg"
alt="uruguay-flag"
/>
<img
class="flag"
src="IMG/venezuela-flag-medium.jpg"
alt="venezuela-flag"
/>
</div>
</section>
</main>
<script src="script.js"></script>
</body>
</html>