76 lines
3.5 KiB
HTML
76 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>kanaguessr</title>
|
|
<link rel="icon" type="image/x-icon" href="/favicon.png">
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<script src="https://code.jquery.com/jquery-3.6.3.min.js" integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU=" crossorigin="anonymous"></script>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
|
|
<link rel="stylesheet" type="text/css" href="./index.css">
|
|
<script type="text/javascript" src="./index.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="container" id="main">
|
|
<div class="row" style="margin-top: 25px;" id="game">
|
|
<div class="col" id="question">
|
|
<p title="the character you have to write" id="character"></p>
|
|
<p title="the syllabary in which you have to write" id="equivalent"></p>
|
|
</div>
|
|
<div class="col" id="answer">
|
|
<div id="user_answer">
|
|
<p style="color: green" id="positive">0</p>
|
|
<input type="text" class="form-control form-control-sm" id="answer_field" placeholder="type..." autofocus="autofocus">
|
|
<p style="color: red" id="negative">0</p>
|
|
</div>
|
|
<div class="row" id="correct_answer" style="display: none;">
|
|
<p id="answer_paragraph">the answer was</p>
|
|
</div>
|
|
<div class="row" id="submit_answer">
|
|
<button class="col btn btn-lg btn-outline-success" id="answer_btn">answer</button>
|
|
<button class="col btn btn-lg btn-outline-info" id="next_btn" style="display: none;">next</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row" id="settings">
|
|
<div class="col me-4 ms-4" id="allowed_questions">
|
|
<p>character:</p>
|
|
<div class="h form-check form-check-inline">
|
|
<input type="checkbox" class="form-check-input" id="hq" checked>
|
|
<label for="hq" class="form-check-label">ひらがな</label>
|
|
</div>
|
|
<div class="k form-check form-check-inline">
|
|
<input type="checkbox" class="form-check-input" id="kq" checked>
|
|
<label for="kq" class="form-check-label">カタカナ</label>
|
|
</div>
|
|
<div class="r form-check form-check-inline">
|
|
<input type="checkbox" class="form-check-input" id="rq">
|
|
<label for="rq" class="form-check-label">rōmaji</label>
|
|
</div>
|
|
</div>
|
|
<div class="col me-4 ms-4" id="allowed_equivalents">
|
|
<p>type as:</p>
|
|
<div class="h form-check form-check-inline">
|
|
<input type="checkbox" class="form-check-input" id="he">
|
|
<label for="he" class="form-check-label">ひらがな</label>
|
|
</div>
|
|
<div class="k form-check form-check-inline">
|
|
<input type="checkbox" class="form-check-input" id="ke">
|
|
<label for="ke" class="form-check-label">カタカナ</label>
|
|
</div>
|
|
<div class="r form-check form-check-inline">
|
|
<input type="checkbox" class="form-check-input" id="re" checked>
|
|
<label for="re" class="form-check-label">rōmaji</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row" id="misc">
|
|
<div>
|
|
<input type="checkbox" class="form-check-input" id="auto">
|
|
<label for="auto" class="form-check-label" style="color: white">automatically go to next after answer</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|