+ 1
How to style an alert box in javascript
13 Answers
+ 3
From this example you can learn how to create your own dialogs:
https://code.sololearn.com/WxbjPA3GaVuJ/?ref=app
+ 2
You can have a look at it:
https://stackoverflow.com/questions/7853130/how-to-change-the-style-of-alert-box
+ 2
Google "sweet alert js"
+ 2
clement ndiok ok as u wish 😁
+ 1
+ 1
clement ndiok
Sweet alert js library is best. (https://unpkg.com/sweetalert/dist/sweetalert.min.js)
You can see here how to use:
https://code.sololearn.com/W19U9nTWp4XF/?ref=app
+ 1
I ᴀᴍ "Tɪᴍᴇ" thanks for the feedback.
+ 1
JaScript thanks
+ 1
clement ndiok you can use some alert libraries and also you can make your customized alerts using pure js and jQuery.
+ 1
Anurag Saikia thanks that will be helpful
+ 1
thank you
+ 1
You can search for 'Modal tutorial' in youtube , you will get plenty of tutorials there .
Create a '<div id="alert">' element and style it with css set it's display: none;
And do this with javascript
function click(){
document.getElementById("alert").style.display="block";
}
0
Cherrim thank you