0
How do you make functions by clicking a button?
2 Answers
+ 3
Html
<Button onclick="fun()" ></button>
Js
Function fun(){
Alert(" working")
}
*Note it will not work if mistake in function name
0
https://code.sololearn.com/Wi6OJsQ4a8H6/?ref=app
EMTER ANGRY BIRDS Nisos you have to write a name to display button
copy this code I may remove it