capitals_quiz/src/index.html

45 lines
1.4 KiB
HTML
Raw Normal View History

2021-04-10 14:02:36 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
2021-05-04 20:00:56 +00:00
<link rel="stylesheet" type="text/css" href="styles.css" />
<link rel="stylesheet" type="text/css" href="game_styles.css" />
2021-04-10 14:02:36 +00:00
<title>capitals_quiz</title>
</head>
<body>
<div id=game>
<div id="toprow">
2021-04-11 14:04:52 +00:00
<p onclick="init()" id="question">you need javascript enabled to play this</p>
2021-04-10 14:02:36 +00:00
<p id="score">score</p>
</div>
2021-04-11 14:04:52 +00:00
<div style="display: none" id="settings">
<input placeholder="select a region (tap or type to filter)" id="region_selector" type="text">
<div id="selector_results"></div>
</div>
2021-04-10 14:02:36 +00:00
<div style="display: none" id="answers">
<div class="answer" id="answer_a">
<p class="letter" id="a">a</p>
<p class="text">answer a text</p>
</div>
<div class="answer" id="answer_b">
<p class="letter" id="b">b</p>
<p class="text">answer b text</p>
</div>
<div class="answer" id="answer_c">
<p class="letter" id="c">c</p>
<p class="text">this sample text is longer than the rest</p>
</div>
<div class="answer" id="answer_d">
<p class="letter" id="d">d</p>
<p class="text">answer d text</p>
</div>
</div>
</div>
2021-05-06 18:45:42 +00:00
<p> built with ❤ and adequate amounts of care by <a href="https://alra.uk">alv</a></p>
2021-04-11 14:04:52 +00:00
<script type="text/javascript" src="countries.js"></script>
<script type="text/javascript" src="game.js"></script>
2021-04-10 14:02:36 +00:00
</body>