site-perso-poly/TP6.html
Djalim Simaila a8b24deb12
All checks were successful
DEPLOY / deploy (push) Successful in 8s
feat(CV.html): add a new CV page to showcase personal information and experience
feat(blocs.html): create a new page demonstrating flexbox layout with colored blocks
refactor(HTML files): replace <div> with <main> for semantic structure in multiple HTML files
fix(index.html): correct script tag syntax for utils.js to ensure proper loading
feat(TP6.js): enhance spin simulation with input validation and reporting functionality
style(static/style.css): improve overall styling and layout consistency across pages
2025-02-23 01:16:58 +01:00

64 lines
2.0 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>
<script src="static/js/TP6.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>
<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="button" onclick="setupGame()">Start Spins</button>
</div>
<div>
<h2 id="currentSpin">Current spin</h2>
</div>
<div id="lastSpins"></div>
<p id="spinCounter"></p>
<div id="report">
<p id="winrate"></p>
<p id="winpercentage"></p>
<p id="gains"></p>
</div>
</main>
<footer>
<p>
Fait par Djalim Simaila et sa haine de l'HTML, CSS, mais pas du
JavaScript ♥️
</p>
<p>©2025</p>
</footer>
</body>
</html>