Update RedditlikeMemo.HTML

This commit is contained in:
Dangrainage 2023-08-24 19:58:07 +02:00 committed by GitHub
parent e6915720ee
commit ce6c3ae7e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,6 +44,8 @@
<button class="game-button blue" onclick="handleButtonClick('blue')"></button> <button class="game-button blue" onclick="handleButtonClick('blue')"></button>
<button class="game-button yellow" onclick="handleButtonClick('yellow')"></button> <button class="game-button yellow" onclick="handleButtonClick('yellow')"></button>
</div> </div>
<h1>I am going to be frankly pretty honest, ChatGPT helped me a lot with this one, oh, before you ask, I made this for the sake of having a game on my website</h1>
<h1>I personally didn't really know that HTML has this many functions</h1>
<script> <script>
const buttonColors = ['green', 'red', 'blue', 'yellow']; const buttonColors = ['green', 'red', 'blue', 'yellow'];
const gameSequence = []; const gameSequence = [];
@ -113,8 +115,7 @@
} }
playRound(); // Start the game playRound(); // Start the game
<h1>I am going to be frankly pretty honest, ChatGPT helped me a lot with this one, oh, before you ask, I made this for the sake of having a game on my website</h1>
<h1>I personally didn't really know that HTML has this many functions</h1>
</script> </script>
</body> </body>
</html> </html>