How? I could understand if this occurred after I press the enter button because of the line of code after that which says to delete everything and then get the newly created divs again, but what about when I freshly load the page? The event listeners should be there, but the divs are never clickable (that is, I never get the console message after I click them).
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Help with Anchor tags in code.pen
|
5 | 487 | June 1, 2021 | |
Display content on click event javascript | 3 | 541 | February 2, 2021 | |
Why can't this copied code work?
|
8 | 856 | January 17, 2021 | |
Function inside event listener issue | 4 | 581 | June 1, 2021 | |
Help with simple event listener | 4 | 261 | September 20, 2021 |