Spaces:
Runtime error
Runtime error
Update templates/quiz.html
Browse files- templates/quiz.html +6 -6
templates/quiz.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>
|
| 7 |
<style>
|
| 8 |
body {
|
| 9 |
font-family: Arial, sans-serif;
|
|
@@ -62,11 +62,11 @@
|
|
| 62 |
</head>
|
| 63 |
<body>
|
| 64 |
<div class="container">
|
| 65 |
-
<h1>
|
| 66 |
-
<p>次の
|
| 67 |
<form action="/" method="post">
|
| 68 |
-
<label for="user_input">
|
| 69 |
-
<input type=
|
| 70 |
<button type="submit" class="btn">答え合わせ</button>
|
| 71 |
</form>
|
| 72 |
{% if result %}
|
|
@@ -77,4 +77,4 @@
|
|
| 77 |
</form>
|
| 78 |
</div>
|
| 79 |
</body>
|
| 80 |
-
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>クイズ</title>
|
| 7 |
<style>
|
| 8 |
body {
|
| 9 |
font-family: Arial, sans-serif;
|
|
|
|
| 62 |
</head>
|
| 63 |
<body>
|
| 64 |
<div class="container">
|
| 65 |
+
<h1>なんか...クイズ</h1>
|
| 66 |
+
<p>次の物質の組成式は何でしょう?: <strong>{{ element }}</strong></p>
|
| 67 |
<form action="/" method="post">
|
| 68 |
+
<label for="user_input">組成式を入力してください:</label>
|
| 69 |
+
<input type=text id="user_input" name="user_input" required>
|
| 70 |
<button type="submit" class="btn">答え合わせ</button>
|
| 71 |
</form>
|
| 72 |
{% if result %}
|
|
|
|
| 77 |
</form>
|
| 78 |
</div>
|
| 79 |
</body>
|
| 80 |
+
</html>
|