2021-02-24 22:54:16 +03:00
|
|
|
<!DOCTYPE html>
|
2021-02-25 00:06:14 +03:00
|
|
|
<html lang="en">
|
2017-02-17 03:38:54 +03:00
|
|
|
<!--
|
|
|
|
/_ ... _ /_
|
|
|
|
/_//_/ ////_//_//_//\
|
|
|
|
_/ _//
|
|
|
|
-->
|
|
|
|
<head>
|
2021-02-25 00:06:14 +03:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Hangman</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="_media/css/chota.min.css">
|
|
|
|
<link rel="stylesheet" href="_media/css/styles.css">
|
|
|
|
<link rel="icon" type="image/png" href="_media/img/favicon.png">
|
2017-02-17 03:38:54 +03:00
|
|
|
</head>
|
|
|
|
<body>
|
2021-02-25 00:06:14 +03:00
|
|
|
<div class="container">
|
|
|
|
<header>
|
|
|
|
<nav class="nav">
|
|
|
|
<div class="nav-left">
|
|
|
|
<a class="brand" href="#">Hangman game</a>
|
|
|
|
</div>
|
|
|
|
<div class="nav-right">
|
|
|
|
<a class="button dark" id="theme-switch" onclick="switchMode(this)">☀️</a>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</header>
|
2017-02-17 03:38:54 +03:00
|
|
|
|
2021-02-25 00:06:14 +03:00
|
|
|
<nav class="tabs is-full">
|
|
|
|
<a class="active">Game</a>
|
|
|
|
<a>Statistics</a>
|
|
|
|
<a>Credits</a>
|
|
|
|
</nav>
|
2017-02-17 03:38:54 +03:00
|
|
|
|
2021-02-25 00:06:14 +03:00
|
|
|
<br>
|
2017-02-17 03:38:54 +03:00
|
|
|
|
2021-02-25 00:06:14 +03:00
|
|
|
<section>
|
|
|
|
<p id="word" class="card text-center text-uppercase">
|
|
|
|
Loading word...
|
|
|
|
</p>
|
2017-02-17 03:38:54 +03:00
|
|
|
|
2021-02-25 00:06:14 +03:00
|
|
|
<div id="keyboard" class="is-hidden text-center">
|
|
|
|
... keyboard ...
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<footer class="text-center">
|
|
|
|
<p class="text-grey is-marginless is-small">
|
|
|
|
by iiiypuk<br>
|
|
|
|
ver: 2.0.0
|
|
|
|
</p>
|
2021-02-24 22:45:09 +03:00
|
|
|
</footer>
|
2017-02-17 04:34:12 +03:00
|
|
|
</div>
|
2017-02-17 03:38:54 +03:00
|
|
|
|
2021-02-25 00:06:14 +03:00
|
|
|
<script>
|
|
|
|
if (window.matchMedia &&
|
|
|
|
window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
|
|
|
document.body.classList.add('dark');
|
|
|
|
}
|
|
|
|
|
|
|
|
function switchMode(el) {
|
|
|
|
const bodyClass = document.body.classList;
|
|
|
|
bodyClass.contains("dark")
|
|
|
|
? ((el.innerHTML = "☀️"), bodyClass.remove("dark"))
|
|
|
|
: ((el.innerHTML = "🌙"), bodyClass.add("dark"));
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<script type="text/javascript" src="_media/js/game.js"></script>
|
2017-02-17 03:38:54 +03:00
|
|
|
</body>
|
|
|
|
</html>
|