+ 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
2 odpowiedzi
+ 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