Help with JavaScript! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help with JavaScript!

Did someone know how to stylish my pop up ad with css or with JavaScript? If someone could write code, like example of code?

3rd Apr 2020, 10:43 PM
Nikola Bojinovic
3 Answers
+ 4
If you are talking of the built-in alert, input, confirm modal box, you cannot: they are handled by the operating system, not by the html/css engine ^^ The only way to have customized pop up is to handle them yourself.. with html/css/js code!. Maybe, you could find inspiration in theses code: https://code.sololearn.com/WO2Mz12InjfP/?ref=app https://code.sololearn.com/WlSiILvqHwd9/?ref=app https://code.sololearn.com/Wp8x1NemoYJ1/?ref=app The last one is an example of an message box class of mine, integrated in replacement of alert/input/confirm in the code of another one...
3rd Apr 2020, 11:33 PM
visph
visph - avatar
0
Yes mean on alert and i watch some videos on YouTube and they told that you can copy some scripts and paste in your document. That's the only way. Than you for answers guys. 😉👍
3rd Apr 2020, 11:40 PM
Nikola Bojinovic