site-perso-poly/TP6.html
Djalim Simaila 719d3fd94d
All checks were successful
DEPLOY / deploy (push) Successful in 7s
feat(html): update HTML files to include lang attribute and improve structure for better accessibility and SEO
feat(js): modify spin interval duration in TP6.js for smoother simulation and enhance user experience
fix(js): rename showLastSpins function to showCurrentSpin for clarity and update its functionality to display current spin count
style(css): add styles for spin numbers and last spins display to improve visual presentation and user interface
2025-02-22 19:19:44 +01:00

58 lines
1.9 KiB
HTML

<!doctype html>
<html lang="fr">
<head>
<title>TP6</title>
<meta charset="UTF-8" />
<link rel="stylesheet" href="static/style.css" />
<script src="static/js/utils.js" defer></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css"
/>
</head>
<body>
<header>
<div class="links">
<a href="/" class="header_button">Home Page</a>
<a href="projects.html" class="header_button">Projets</a>
<a href="about.html" class="header_button">A propos de moi</a>
<a href="surprise.html" class="header_button">Surprise :)</a>
<a href="https://djalim.fr" class="header_button">Blog Perso</a>
</div>
<button
id="display_header_links"
onclick="toggle_all_header_links()"
>
</button>
</header>
<div id="main">
<div id="setupGame">
<p>how many spins do you want to simulate</p>
<input
id="maxSpinInput"
type="number"
max="1000000"
min="1"
value="10000"
/>
<button type="" onclick="setupGame()">Start Spins</button>
</div>
<div>
<h2>Current Spin</h2>
<h3 id="currentSpin"></h3>
</div>
<div id="lastSpins"></div>
<p id="spinCounter"></p>
</div>
<footer>
<p>
Fait par Djalim Simaila et sa haine de l'HTML, CSS, mais pas du
JavaScript ♥️
</p>
<p>©2025</p>
</footer>
</body>
<script src="static/js/TP6.js" defer></script>
</html>