+ 8
Is it possible for us to change the styling of the SoloLearn alert box at our end ? eg. background image, font etc.
JS alert box.
3 Respuestas
+ 7
Thanks, will do
+ 3
It's not possible to modify that element. Since it is an object of the system it is not subject to CSS.
Even so, you can create a modal box and display it as if it were an alert, that way you would have control over it.
https://www.w3schools.com/howto/howto_css_modals.asp
+ 3
Example - Modal box vs Alert box
Successful use of the modal box compared to the alert box.
https://code.sololearn.com/WFC0N5D1V2S7/?ref=app