kanaguessr/index.html

77 lines
3.5 KiB
HTML
Raw Normal View History

2021-01-22 00:25:31 +01:00
<!DOCTYPE html>
<html>
<head>
2023-03-06 13:32:56 +01:00
<title>kanaguessr</title>
<link rel="icon" type="image/x-icon" href="/favicon.png">
2021-01-22 00:25:31 +01:00
<meta charset="utf-8">
2023-03-04 22:49:24 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2023-03-04 16:02:54 +01:00
<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">
2021-01-22 00:25:31 +01:00
<script type="text/javascript" src="./index.js"></script>
</head>
2023-03-04 16:02:54 +01:00
<body>
<div class="container" id="main">
2023-03-06 13:32:56 +01:00
<div class="row" style="margin-top: 25px;" id="game">
2023-03-04 22:49:24 +01:00
<div class="col" id="question">
2023-03-06 13:32:56 +01:00
<p title="the character you have to write" id="character"></p>
<p title="the syllabary in which you have to write" id="equivalent"></p>
2023-03-04 22:49:24 +01:00
</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;">
2023-03-06 13:32:56 +01:00
<p id="answer_paragraph">the answer was</p>
2023-03-04 22:49:24 +01:00
</div>
2023-03-07 23:59:19 +01:00
<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>
2023-03-04 22:49:24 +01:00
</div>
</div>
2023-03-05 21:56:19 +01:00
<div class="row" id="settings">
<div class="col me-4 ms-4" id="allowed_questions">
2023-03-06 01:07:09 +01:00
<p>character:</p>
2023-03-06 13:32:56 +01:00
<div class="h form-check form-check-inline">
2023-03-05 21:56:19 +01:00
<input type="checkbox" class="form-check-input" id="hq" checked>
2023-03-06 13:32:56 +01:00
<label for="hq" class="form-check-label">ひらがな</label>
2023-03-05 21:56:19 +01:00
</div>
2023-03-06 13:32:56 +01:00
<div class="k form-check form-check-inline">
2023-03-05 21:56:19 +01:00
<input type="checkbox" class="form-check-input" id="kq" checked>
2023-03-06 13:32:56 +01:00
<label for="kq" class="form-check-label">カタカナ</label>
2023-03-05 21:56:19 +01:00
</div>
2023-03-06 13:32:56 +01:00
<div class="r form-check form-check-inline">
<input type="checkbox" class="form-check-input" id="rq">
2023-03-06 13:32:56 +01:00
<label for="rq" class="form-check-label">rōmaji</label>
2023-03-05 21:56:19 +01:00
</div>
</div>
<div class="col me-4 ms-4" id="allowed_equivalents">
2023-03-06 01:07:09 +01:00
<p>type as:</p>
2023-03-06 13:32:56 +01:00
<div class="h form-check form-check-inline">
<input type="checkbox" class="form-check-input" id="he">
2023-03-06 13:32:56 +01:00
<label for="he" class="form-check-label">ひらがな</label>
2023-03-05 21:56:19 +01:00
</div>
2023-03-06 13:32:56 +01:00
<div class="k form-check form-check-inline">
<input type="checkbox" class="form-check-input" id="ke">
2023-03-06 13:32:56 +01:00
<label for="ke" class="form-check-label">カタカナ</label>
2023-03-05 21:56:19 +01:00
</div>
2023-03-06 13:32:56 +01:00
<div class="r form-check form-check-inline">
2023-03-05 21:56:19 +01:00
<input type="checkbox" class="form-check-input" id="re" checked>
2023-03-06 13:32:56 +01:00
<label for="re" class="form-check-label">rōmaji</label>
2023-03-05 21:56:19 +01:00
</div>
</div>
</div>
2023-03-05 21:56:19 +01:00
<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>
2021-01-22 00:25:31 +01:00
</div>
</body>
</html>