@Litheesh-kumar
Posted
Learn about Event Propagation, Event Delegation and DOM traversing. Gaining Knowledge from those can help you to write better code dynamically. Still your code looks like static(what if I added new Question, you need to make change in JS file right. It is not a better way to do) .Happy Coding✨.
Marked as helpful
@Lenzhy
Posted
@Litheesh-kumar thank you a lot ! I will look into what you told me about and start again! 🔥