web_2024/R1.02/tp/tp5/src/index.html

45 lines
807 B
HTML
Raw Normal View History

2024-12-17 09:32:21 +01:00
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1,witdh=device-width">
<title>Jeu de la vie</title>
<style>
* {
font-size : 1.1rem;
}
.menu {
text-align: center;
}
.row {
display: flex;
align-items: center;
justify-content: center;
}
.cell {
width: 1.25rem;
height: 1.25rem;
border: 1px solid black;
box-sizing : border-box;
}
</style>
</head>
<body>
<menu class="menu">
<button id="next-gen">Prochaine Génération</button>
<button id="autoplay">Auto Play</button>
<p>
Génération numéro: <span id="generation-value"></span> | Taille de la grille: <span id="grid-size-value"></span>
</p>
</menu>
<div id="container"></div>
<script src="script.js"></script>
</body>
</html>