Update RedditlikeMemo.HTML
This commit is contained in:
parent
11534fe515
commit
d2bb3eeab9
1 changed files with 7 additions and 16 deletions
|
@ -4,15 +4,16 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Simon Says Game</title>
|
<title>Simon Says Game</title>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
}
|
}
|
||||||
.game-button {
|
.game-button {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
|
@ -44,17 +45,10 @@
|
||||||
<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>
|
||||||
|
<p>
|
||||||
<h1> </h1>
|
<h1>I am going to be frankly pretty honest, ChatGPT helped me a lot with this one.</h1>
|
||||||
<h1> </h1>
|
<h1>I personally didn't really know that HTML has this many functions.</h1>
|
||||||
<h1> </h1>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>
|
|
||||||
I am going to be frankly pretty honest, ChatGPT helped me a lot with this one.</h1>
|
|
||||||
<h1>I personally didn't know that HTML had this many functions</h1>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
const buttonColors = ['green', 'red', 'blue', 'yellow'];
|
const buttonColors = ['green', 'red', 'blue', 'yellow'];
|
||||||
const gameSequence = [];
|
const gameSequence = [];
|
||||||
|
@ -124,9 +118,6 @@ I am going to be frankly pretty honest, ChatGPT helped me a lot with this one.</
|
||||||
}
|
}
|
||||||
|
|
||||||
playRound(); // Start the game
|
playRound(); // Start the game
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue