feat(js): implement utility functions for hiding and showing elements, and add event listeners for better interactivity feat(js): create a new roulette game in TP6 with random number generation and qualifying number logic fix(css): update styles for consistency and responsiveness across different screen sizes
42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
<!doctype html>
|
|
<head>
|
|
<meta name="Acceuil" />
|
|
<meta charset="UTF-8" />
|
|
<link rel="stylesheet" href="static/style.css" />
|
|
<script src="static/js/utils.js" defer></script>
|
|
</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="pokemon_team">
|
|
<img id="pokemon_frame" src="" alt="" />
|
|
<p id="pokemon_name"></p>
|
|
<p id="pokemon_desc"></p>
|
|
<button type="button" onclick="chose_random_pokemon()">
|
|
Check out a random pokemon
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<footer>
|
|
<p>
|
|
Fait par Djalim Simaila et sa haine de l'HTML, CSS, mais pas du
|
|
JavaScript ♥️
|
|
</p>
|
|
<p>©2025</p>
|
|
</footer>
|
|
<script src="static/js/TP4.js" defer></script>
|
|
</body>
|