-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #808 from nizam-786mohaideen/patch-2
Update index.html
- Loading branch information
Showing
1 changed file
with
20 additions
and
15 deletions.
There are no files selected for viewing
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
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> |