Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,15 @@
<b>Prakhar Gupta</b>
</sub>
</a>
</td>
<td align="center">
<a href="https://github.com/SyarifulMsth">
<img src="https://avatars.githubusercontent.com/u/96466588?v=4" width="100px;" alt="Syariful Msth"/>
<br />
<sub>
<b>Syariful Msth</b>
</sub>
</a>
</td>
</tr>
</table>

68 changes: 36 additions & 32 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,48 +1,52 @@
<!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">
<link rel="stylesheet" href="style.css">
<title>memory game</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>memory game</title>
</head>

<body>
<script src="index.js" defer></script>
<header>
<img src="images/logo.jpg" height="50px" width="50px" alt="logo" class="logo">
<h1>memory game</h1>
<button id="restart-btn" onclick="restartGame()">restart</button>
</header>
<h4 class="time--stat" style="text-align:center">
<span>
Best time: <span id="best--timer">-</span>
</span>
<span>
time:<span id="timer">0</span>
</span>
<script src="index.js" defer></script>
<header>
<img src="images/logo.jpg" height="50px" width="50px" alt="logo" class="logo">
<h1>memory game</h1>
<button class="button-restart" id="restart-btn" onclick="restartGame()">restart</button>
</header>
<h4 class="time--stat" style="text-align:center">
<span>
Best time: <span id="best--timer">-</span>
</span>
<span>
time:<span id="timer">0</span>
</span>
</h3>
<section class="memory-game">
<!--
<div class="memory-card">
<img class="front-face" src="#" alt="card front face" />
<img class="back-face" src="images/cover.png" alt="card cover" />
</div>
-->
</section>
<div id="toggle-sound">
<span id="mute-btn">Mute</span>
<input class="mute-toggle-input" onclick="toggleSound()" type="checkbox" id="switch" /><label class="mute-toggle-label"for="switch"></label>
</div>
-->
</section>
<div id="toggle-sound">
<span id="mute-btn">Mute</span>
<input class="mute-toggle-input" onclick="toggleSound()" type="checkbox" id="switch" /><label
class="mute-toggle-label" for="switch"></label>
</div>

<div class="modal">
<div class="modal--container">
<div id="modal--close">+</div>
<div>
Hurray!! You won the game.</div>
<div>Time Taken: <span id="modal--time">0</span></div>
<button class="modal--btn" onclick="restartGame()">Replay</button>
</div>
<div class="modal">
<div class="modal--container">
<div id="modal--close">+</div>
<div>
Hurray!! You won the game.</div>
<div>Time Taken: <span id="modal--time">0</span></div>
<button class="modal--btn" onclick="restartGame()">Replay</button>
</div>
</div>
</body>

</html>
Loading