0

How can you make button do something like start playing a song or input a letter in html

3rd Jun 2023, 10:47 AM
Rex Cherish Okoha
3 Respostas
3rd Jun 2023, 10:54 AM
Ausgrindtube
Ausgrindtube - avatar
+ 1
You need to assign its onclick attribute to a JavaScript function.
3rd Jun 2023, 10:54 AM
Gordon
Gordon - avatar
0
Which "something" is it supposed to do? You could attach a function to it using Javascript or animate it with CSS.
3rd Jun 2023, 10:54 AM
Lisa
Lisa - avatar