How to format an alert box | Sololearn: Learn to code for FREE!

+4

How to format an alert box

I want to format or edit an alert box but I don't know what tag or function I have to write for that.

9/13/2018 1:54:15 PM

Arpit Mittal

3 Answers

New Answer

+4

You can't format a traditional alert (window.alert("some text");) but you can make modals pop up as if they were alerts. There are already similar (if not identical) questions posted. You can find the answers using the search bar (keyword "alert" sort by most popular). Please help keep the quality of posts high in this section of the forum, SoloLearn servers uncluttered, and app latency low by reviewing the following: https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community/ Be sure not to miss the link to the Community Guidelines toward the bottom of the article. Happy coding! P.S. Please see the following post for a humorous interpretation (but still an earnest plea). https://www.sololearn.com/post/10362/?ref=app

0

not nice Emmanuel

-2

Stellar Fox: Refrain from posting such things Emmanuel