Open JimmyDingyiming opened 5 years ago
Hi, Guys, I do not know why I click the calculate button and it never gives me an answer. I think I follow the exact same scripts Pili has shown on class, what is wrong with my script?
you spell it differently.
function caluculate (){} and document.getElementById("cal").addEventListener('click', calculate)
function caluculate (){}
document.getElementById("cal").addEventListener('click', calculate)
Just change to the same spelling.
Hi, Guys, I do not know why I click the calculate button and it never gives me an answer. I think I follow the exact same scripts Pili has shown on class, what is wrong with my script?