New course! Every coder should learn Generative AI!
Try a free lesson+ 7
How can i write the alert message in JS in bold or italic or underlined ?
I want the alert message to be appeared in bold. How can I do that.??
1 Answer
+ 3
You can't, build in alert does not show styled text.
Build your own custom modal dialog.