0

How can we make a button which works in html

21st Jun 2018, 6:29 AM
Samarth
3 ответов
+ 13
HTML <button onclick="btn()">tap me</button> JS function btn() { alert("lol") }
21st Jun 2018, 6:34 AM
Amethyst Animion
Amethyst Animion - avatar
+ 2
You have to define the word "works" what mean
21st Jun 2018, 6:36 AM
KrOW
KrOW - avatar
0
thx
21st Jun 2018, 7:17 AM
Samarth