Skip to content

Commit

Permalink
Merge pull request #110 from rupashreesmagic/feature/livelyf
Browse files Browse the repository at this point in the history
Feature/livelyf
  • Loading branch information
YadavAkhileshh authored Oct 6, 2024
2 parents b4173a9 + 6211e26 commit 187166d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Alien.css
Original file line number Diff line number Diff line change
Expand Up @@ -741,4 +741,12 @@ input:checked + .slider:before {
font-size: 20px;
font-weight: bold;
color: white;
}
}
#liveLife {
position: absolute;
top: 42px;
left: 134px;
font-size: 20px;
font-weight: bold;
color: white;
}
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
<canvas id="gameCanvas"></canvas>
<div id="header">
<div id="liveScore">LIVE SCORE: <span id="score">0</span></div>
<div id="liveLife">LIVE LIFE: <span id="lives">3</span></div>
<div id="gameInfo">
<i class="fas fa-star"></i> <span id="score">0</span> |
<i class="fas fa-level-up-alt"></i> <span id="level">1</span> |
Expand Down

0 comments on commit 187166d

Please sign in to comment.