Popup alert when clicking button | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Popup alert when clicking button

How do I make an alert like in JS but with HTML and JS when you click a button? For eg, When you click a save button, it asks "Save the file?".

13th Nov 2020, 12:55 PM
Aravind-R-C 06
Aravind-R-C 06 - avatar
1 Answer
+ 2
A live presentation for popup can bee seen here: https://code.sololearn.com/W4yxeoORg2WU/?ref=app
13th Nov 2020, 1:48 PM
JaScript
JaScript - avatar