+ 1

Buttons

How do you make buttons do something when you press them????

11th Nov 2018, 6:12 AM
Da Panda
Da Panda - avatar
2 Respuestas
+ 9
You can use onclick attribute on button to call a function and then you can define that function in js.
11th Nov 2018, 6:41 AM
Arushi Singhania
Arushi Singhania - avatar