-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
157 lines (156 loc) · 5.31 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!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" />
<meta
name="description"
content="Calling all Geography lovers! 🌍 Can you guess the country based on the countries that border it? If you think you can, Bordle is the game for you!"
/>
<meta
name="keywords"
content="bordle, border, borders, country, game, geography, quiz, world, flag, flags"
/>
<meta name="author" content="Samuel James Forrest" />
<meta property="og:image" content="/assets/imgs/loading-screen.png" />
<meta property="og:imgae:type" content="image/png" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="assets/css/style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<script
src="https://kit.fontawesome.com/42dcb796dc.js"
crossorigin="anonymous"
></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-06T4C3XTED"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-06T4C3XTED");
</script>
<title>Bordle</title>
</head>
<body>
<header class="container" nodrag>
<div class="row">
<div class="col-12 text-center">
<a href="/"
><h1 class="header-title">
<span class="highlight">B</span>ordle
</h1></a
>
<p class="header-text">
Can you guess the country, based off the countries that border it?
</p>
</div>
</div>
</header>
<section class="game-section container">
<div class="row">
<div class="col-8 col-md-5 mx-auto mx-md-0 mb-4 mb-md-0">
<div class="main-country" hide nodrag>
<div class="main-country-card">
<div class="main-country-card-content">
<div class="main-country-front">
<div class="main-country-image">
<img src="" alt="" />
</div>
</div>
<div class="main-country-back"></div>
</div>
</div>
<div class="main-country-text">
<p></p>
<form action="/" class="main-country-form">
<label for="input"></label>
<input
type="text"
list=""
id="input"
autocomplete="off"
placeholder="Guess a country"
/>
<datalist id="countries"> </datalist>
</form>
</div>
</div>
</div>
<div class="col-md-7">
<div class="container">
<div class="row border-countries"></div>
</div>
</div>
</div>
</section>
<div class="loading-modal">
<h1 class="loading-modal-title">
<span class="highlight __bounce">B</span>ordle
</h1>
<p class="loading-modal-subtitle">A game by Samuel James Forrest</p>
</div>
<div class="notification-modal">
<p class="notification-modal-text">Invalid country - please try again</p>
</div>
<div class="end-screen d-none">
<div class="overlay"></div>
<div class="end-screen-modal">
<h2 class="end-screen-title">Thanks for playing!</h2>
<p class="end-screen-text">
If you enjoyed the game, and want to keep up to date with future games
and projects, you can follow/contact me here:
</p>
<div class="social-icons">
<a
href="https://www.twitter.com/samueljforrest"
target="_blank"
rel="noopener"
><i class="fa-brands fa-twitter"></i
></a>
<a
href="https://www.linkedin.com/in/samueljamesforrest"
target="_blank"
rel="noopener"
><i class="fa-brands fa-linkedin"></i
></a>
<a
href="mailto:[email protected]"
target="_blank"
rel="noopener"
><i class="fa-solid fa-envelope"></i
></a>
<a
href="https://www.github.com/samueljforrest"
target="_blank"
rel="noopener"
><i class="fa-brands fa-github"></i
></a>
</div>
<a href="/" class="end-screen-btn">Play again</a>
</div>
</div>
<script
src="https://unpkg.com/country-flag-emoji@latest/dist/country-flag-emoji.umd.min.js"
type="module"
></script>
<script src="assets/js/main.js" type="module"></script>
</body>
</html>