Created
February 17, 2023 08:00
-
-
Save udit-raj-simform/20bfbc5468177af15a73fb8f1577c754 to your computer and use it in GitHub Desktop.
js memory game
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>🧠 Memory Game in JavaScript</title> | |
<link rel="stylesheet" href="assets/styles.css" /> | |
<script src="assets/game.js" defer></script> | |
</head> | |
<body> | |
<div class="game"> | |
<div class="controls"> | |
<button>Start</button> | |
<div class="stats"> | |
<div class="moves">0 moves</div> | |
<div class="timer">time: 0 sec</div> | |
</div> | |
</div> | |
<div class="board-container"> | |
<div class="board" data-dimension="4"></div> | |
<div class="win">You won!</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment