DEV Community

Cover image for How to show alert box javascript?

Posted on

How to show alert box javascript?

Hi guys, Today we will see how to show alert box using javascript.

To show alert box, we use javascript default function "alert()".

var msg = "Hey, you are a developer!";
Enter fullscreen mode Exit fullscreen mode

In this way, we can show alert box using javascript.

Thanks for taking your valuable time for reading my post, if you have any queries , please leave a comment and will respond. If you find this post useful, please share it.

Read: How to Increase upload limit upto 1000GB in Wordpress using Increase Upload Limit Plugin for LIFETIME Free of Cost?

Social Profile : LinkedIn

Have a Nice Day!

Discussion (2)

sloan profile image

Hi there, it appears that this post contains affiliate links. We ask that posts including affiliate links also contain a clear disclaimer so that readers are aware. Here is some suggested language:

This post includes affiliate links; I may receive compensation if you purchase products or services from the links provided in this article.

pavankumarsadhu profile image
pavankumarsadhu Author

Hi there, the link included in my post is a absolutely LIFETIME Free of Cost and also that plugin is developed by me only.

Yeah I will include disclaimer as you said, if post contains affiliate links.