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: 10 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@
</sub>
</a>
<br />
</td>
<td align="center">
<a href="https://github.com/ManishSheela">
<img src="https://avatars.githubusercontent.com/u/96982207?v=4" width="100px;" alt="Harsh Narayan"/>
<br />
<sub>
<b>Manish Sheela</b>
</sub>
</a>
<br />
</td>
<td align="center">
<a href="https://github.com/DNA5769">
Expand Down
32 changes: 29 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,42 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- fontawesome cdn -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<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>
<!-- left wrapper contain logo and game name -->
<div class="left-wrapper">
<img src="images/logo.jpg" height="50px" width="50px" alt="logo" class="logo">
<h1 style="margin-left:10px;">memory game</h1>
</div>

<!-- Right Wrapper for start and restart button -->
<div class="right-wrapper">
<button id="start-btn">Game Levels</button>
<button id="restart-btn" onclick="restartGame()">restart</button>
</div>
</header>
<!-- Beginning Model pop-up box start here -->
<div class="model-container" id="model">
<div class="model">
<img src="images/logo.jpg" height="70px" width="70px" alt="logo" class="logo">
<h3>Choose Level</h3>
<!-- Levels section -->
<div class="levels">
<button class="level-btn">Easy</button>
<button class="level-btn">Medium</button>
<button class="level-btn">Hard</button>
</div>
<!-- Levels section end -->
<i class="fas fa-times"></i>
</div>
</div>
<!-- Beginning Model pop-up box end here -->
<h4 class="time--stat" style="text-align:center">
<span>
Best time: <span id="best--timer">-</span>
Expand Down
Loading