Skip to content

Commit

Permalink
remove dup i
Browse files Browse the repository at this point in the history
  • Loading branch information
roryclear committed Aug 31, 2024
1 parent d4af501 commit cb8c43e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1666,9 +1666,9 @@

// Animate filled green emojis
let filledEmojis = Math.floor(currentPercentage / 20);
for (let i = 0; i < filledEmojis; i++) {
emojis[i].textContent = "🟩";
emojis[i].style.opacity = 1; // Make the emoji appear
for (let x = 0; x < filledEmojis; x++) {
emojis[x].textContent = "🟩";
emojis[x].style.opacity = 1; // Make the emoji appear
}

// Handle the yellow emoji only at the end of the animation
Expand Down

0 comments on commit cb8c43e

Please sign in to comment.