Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
giangle-mfv authored Jun 21, 2024
1 parent 87c1261 commit 3298620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ document.querySelectorAll("button").forEach((buttonEl) => {
allButtonsEl.forEach((btn) => btn.classList.remove("selected"));

// add selected class to clicked button
// activeButtonEl.classList.add("selected");
activeButtonEl.classList.add("selected");
});
});

0 comments on commit 3298620

Please sign in to comment.