Submitted over 1 year ago
CSS, Javascript DOM manipulation, List properties, Class and Functions
@balanambi88
Design comparison
SolutionDesign
Solution retrospective
When i console.log() the clicked buttons, i see it is logged twice. Although it did not impact the desired result, i still not able to break it from printing twice, with event.stopPropagation() technique. If some response for this, would be appreciated. Thank you
Community feedback
- @markuslewinPosted over 1 year ago
You're embedding the script twice; once in the head, and once in the end of the body!
Marked as helpful1@balanambi88Posted over 1 year ago@markuslewin I see, thank you for your time for helping me with this Markus. I thought putting it twice wont have a impact on the execution. Apparently i was wrong. thanks 😊
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord