add pointer cursor to box of sweets

This commit is contained in:
emma 2025-02-06 08:21:07 -05:00
parent 347ffd7732
commit d290bd7db0
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ const main = () => {
const tiles = document.querySelectorAll(".tile"); const tiles = document.querySelectorAll(".tile");
tiles.forEach((el) => { tiles.forEach((el) => {
el.style.cursor = "pointer";
el.addEventListener("click", () => { el.addEventListener("click", () => {
displayNote(el); displayNote(el);
}); });