0

How do you make functions by clicking a button?

1st Aug 2019, 5:56 PM
EMTER ANGRY BIRDS Nisos
EMTER ANGRY BIRDS Nisos - avatar
2 Antworten
+ 3
Html <Button onclick="fun()" ></button> Js Function fun(){ Alert(" working") } *Note it will not work if mistake in function name
1st Aug 2019, 6:04 PM
Yash🏁🔘
Yash🏁🔘 - avatar
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
1st Sep 2019, 3:21 AM
Yash🏁🔘
Yash🏁🔘 - avatar