Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • @kowai-onigiri

    Submitted

    The one issue I would like to continue working on is making sure that the user can only choose one rating (only one number button click will be logged and passed into the display number.

    @Abdulmojeed58

    Posted

    I can relate 100%

    Try and use the target event Add an event listener to the overall card, then target the button.(use e parameter)

    document.querySelector(“.card”).addEventListener((“click”, (e) => { If(e.target.classList.contains(“btn”) { //your function } });

    Marked as helpful

    0