update
This commit is contained in:
45
DEV.1.2/tp5/ex1.html
Normal file
45
DEV.1.2/tp5/ex1.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<!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>
|
||||
<button id="reset">Reset</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_ex1.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user