GrandTabernacleAutoVI/public_html/index.html

44 lines
1.3 KiB
HTML
Raw Normal View History

2023-11-14 18:16:08 +01:00
<!DOCTYPE html>
2023-11-14 15:52:48 +01:00
<html>
2023-11-14 17:16:30 +01:00
2023-11-14 18:16:08 +01:00
<head>
2023-11-15 13:17:55 +01:00
<link rel="stylesheet" href="./css/style.css">
2023-12-07 17:43:16 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2023-11-14 18:16:08 +01:00
<meta charset="UTF-8">
2023-12-07 17:43:16 +01:00
<link rel="icon" href="./assets/logo.ico" type="image/x-icon">
2023-11-14 18:16:08 +01:00
</head>
2023-11-14 15:58:38 +01:00
2023-11-14 18:16:08 +01:00
<body id="background-image">
2023-12-07 17:43:16 +01:00
<header>
<img id="logo" src="./assets/logo.png" alt="background">
</header>
2023-11-29 15:38:23 +01:00
<main>
2023-11-14 18:16:08 +01:00
<h1>Grand Tabernacle Auto</h1>
2023-11-29 17:37:23 +01:00
<div class="container">
<h2> Deviens le plus grand tabernacleur du monde !</h2>
<input type="checkbox" id="checkbox">
<div id="formcontainer">
<form id="form" action="game.html">
2023-12-07 18:03:08 +01:00
<input id="form_input" placeholder="Pseudo" type="text" pattern="[A-Za-z0-9]{1,20}" required>
2023-11-29 17:37:23 +01:00
<label id="form_buttonLabel" for="checkbox">
<button id="form_button" type="submit">Go!</button>
</label>
<label id="form_toggle" for="checkbox" data-title="Jouer"></label>
</form>
</div>
2023-11-29 15:38:23 +01:00
</div>
</main>
2023-12-07 17:43:16 +01:00
<footer>
<p>© 2023 - Grand Tabernacle Auto</p>
</footer>
2023-11-14 18:16:08 +01:00
</body>
2023-12-07 17:43:16 +01:00
2023-11-29 17:51:06 +01:00
</html>
2023-11-14 18:16:08 +01:00
2023-11-29 17:51:06 +01:00
<script>
2023-12-07 17:43:16 +01:00
pseudo = document.getElementById('form_input')
window.addEventListener('keyup', (event) => {
document.cookie = "pseudo=" + pseudo.value
})
2023-12-08 18:02:42 +01:00
</script>