Skip to content

Commit

Permalink
Merge pull request #808 from nizam-786mohaideen/patch-2
Browse files Browse the repository at this point in the history
Update index.html
  • Loading branch information
Ayushparikh-code authored Oct 27, 2024
2 parents 5402bba + 3fde214 commit c4878b2
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions 2048 Game/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
<html>
<head>
<link rel="stylesheet" href="style.css">
<script src ="script.js"></script>
<title>2048 Game</title>
</head>
<body>
<div class = "header">2048 Game</div>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
<title>2048 Game</title>
</head>
<body>
<div class="header">2048 Game</div>

<div class = "instructions">Instructions: Use arrow key to play. Refresh the page to restart.</div>
<div class="instructions">
Instructions: Use arrow keys to play. Refresh the page to restart.
</div>

<div class = "scoreContainer">
<div class="scoreTitle">score</div>
<span id="score">0</span>
</div>
<div class="scoreContainer">
<div class="scoreTitle">Score</div>
<span id="score">0</span>
</div>

<div class ="grid"></div>
</body>
<div class="grid"></div>
</body>
</html>

0 comments on commit c4878b2

Please sign in to comment.