Closed RyanCLuis closed 9 months ago
My first question is, do you mean to be removing the eventListener
in your tiles loop?
i mean when i use my eventListener i can toggle my button as shown in the pictures, what im trying to do is when i toggle on the button you can click a square and when it does it places that emoji on the tile and it cant be clicked on, unless you take it off
What's the problem you're trying to solve?
i have created the way to make my "flag" button toggle on and off, but when i toggle it on and click on a tile, it doesnt produce the "Flag".
Post any code you think might be relevant (one fenced block per file)
If you see an error message, post it here. If you don't, what unexpected behavior are you seeing?
no error message, but here is a picture to demonstrate
![image](https://github.com/sei-ec-remote/project-1-issues/assets/150068816/5e54a43d-e512-47be-abb8-f35329a567f3)
What is your best guess as to the source of the problem?
must be something in my code that isn't triggering, calling the wrong event maybe.....
What things have you already tried to solve the problem?
ive tried repositioning of the functions, made sure im calling the right parameters
Paste a link to your repository here
https://github.com/RyanCLuis/Minesweeper