Spaces:
Running
Running
Create index.html
Browse files- index.html +35 -0
index.html
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="ja">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<title>ηͺε·ε
₯ε</title>
|
| 6 |
+
<style>
|
| 7 |
+
body {
|
| 8 |
+
font-family: sans-serif;
|
| 9 |
+
display: flex;
|
| 10 |
+
flex-direction: column;
|
| 11 |
+
align-items: center;
|
| 12 |
+
justify-content: center;
|
| 13 |
+
height: 100vh;
|
| 14 |
+
margin: 0;
|
| 15 |
+
}
|
| 16 |
+
input, button {
|
| 17 |
+
font-size: 1.2em;
|
| 18 |
+
margin-top: 10px;
|
| 19 |
+
}
|
| 20 |
+
</style>
|
| 21 |
+
</head>
|
| 22 |
+
<body>
|
| 23 |
+
<label for="numberInput">ζγγγγηͺε·γε
₯εγγ¦γγ γγγ</label>
|
| 24 |
+
<input type="text" id="numberInput" />
|
| 25 |
+
<button id="continueBtn">ηΆθ‘</button>
|
| 26 |
+
|
| 27 |
+
<script>
|
| 28 |
+
document.getElementById("continueBtn").addEventListener("click", function() {
|
| 29 |
+
const number = document.getElementById("numberInput").value;
|
| 30 |
+
localStorage.setItem("no", number);
|
| 31 |
+
window.location.href = "2.html";
|
| 32 |
+
});
|
| 33 |
+
</script>
|
| 34 |
+
</body>
|
| 35 |
+
</html>
|