Adriano• 34,090
@AdrianoEscarabote
Posted
Hi Leonardo Schuquel, how are you? I really liked the result of your project, but I have some tips that I think you will enjoy:
To make the button work only when the user selects a number do this:
ButtonSelect.forEach((ButtonSelect) =>{
ButtonSelect.addEventListener("click", () =>{
Note.innerHTML = ButtonSelect.innerHTML
Button.addEventListener("click", () =>{
Thanks.classList.remove("hidden")
Container.classList.add("hidden")
})
})
})
The rest is great!
I hope it helps... 👍
Marked as helpful
0
@AdrianoEscarabote Thanks, I hadn't really thought about this path
1
Adriano• 34,090
@AdrianoEscarabote
Posted
@LeonardoSchuquel happy coding!!
Marked as helpful
0