+ 1

How to make a button which on clicking shows some message in html

21st Jun 2018, 7:42 AM
Samarth
2 Answers
+ 4
Do this: <button onclick = ‘alert(“Some text”);’>Click me!</button> Hope it helps!
21st Jun 2018, 8:23 AM
Rowsej
Rowsej - avatar