add pointer cursor to box of sweets
This commit is contained in:
parent
347ffd7732
commit
d290bd7db0
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue