+ 1
Ahh this Code don't work
This Code don't puta Hola when i click te ButrĂłn and i use without error onlick and id https://code.sololearn.com/WK4ufBAcTcg0/?ref=app
2 Answers
+ 2
What do you mean by this?
num >= boton // ???
You are comparing an number to an html element? What is it supposed to do?
Anyways, you need to add the next function to your button:
onclick='next()'
on html button element
+ 1
Alejandro
First thing you didn't call function on click event
2nd thing how you can compare (num >= boton) because here 'var boton = document.getElementById('Boton');' will return object
Just print boton and see on console.