Skip to content

Commit

Permalink
index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
swathivemula7 committed Jan 29, 2023
1 parent 2187617 commit e6517c5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 1,27 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Candy Crush</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],700&family=Montserrat:wght@600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<script src="script.js"></script>
</head>

<body>
<div class="container">
<h1 id="heading">Candy Crush</h1>
<h2>Score: <span id="score">0</span></h2>
<h2>Moves: <span id="moves">15</span></h2>
<div id="board"></div>
</div>
<div class="popup" id="popup">
<h2 id="gameend">Game Over!</h2>
<p id="result">Your score is <span id="finalscore">0</span></p>
<button id="refresh" onclick="newGame()">Play Again</button>
</div>
</body>
</html>

0 comments on commit e6517c5

Please sign in to comment.