Read description | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Read description

Say if you have a choice(Form). How can you make it so when a user clicks it, an alert comes up.

10th Apr 2017, 5:19 PM
I don't code
I don't code - avatar
3 Answers
+ 10
You're welcome ^^
10th Apr 2017, 5:29 PM
Tashi N
Tashi N - avatar
+ 9
There's a very simple example at the JS course here on SoloLearn: <button onclick="show()">Click Me</button> <script> function show() { alert("Hi there"); } </script> Go through the course, it will help you.
10th Apr 2017, 5:23 PM
Tashi N
Tashi N - avatar
+ 1
thanks a lot! That really helped me out.😄
10th Apr 2017, 5:25 PM
I don't code
I don't code - avatar