Hello,
In this post,
I will give the code about the PROMPT BOX or we can say ALERT BOX code used in JAVASCRIPT. This is very easy-to-understand and good method to learn JAVASCRIPT.
-----------------------------
The code starts here :
------------------------------
Screenshots :-

This is the simple method to create a PROMPT or ALERT using JAVASCRIPT.
Please comment Below if you want to give new Ideas.
---------
Thank You !
---------
In this post,
I will give the code about the PROMPT BOX or we can say ALERT BOX code used in JAVASCRIPT. This is very easy-to-understand and good method to learn JAVASCRIPT.
-----------------------------
The code starts here :
------------------------------
<!DOCTYPE html>
<html>
<body>
<p>Click the button to display an alert box:</p>
<button onclick="myFunction()">Click it</button>
<script>function myFunction()
{
alert("This is an alert box!");
}
</script>
</body>
</html>
Screenshots :-
![]() |
First Page - Before Clicking Below Page - After Clicking |

This is the simple method to create a PROMPT or ALERT using JAVASCRIPT.
Please comment Below if you want to give new Ideas.
---------
Thank You !
---------
Ive created an alert box like this.. For my project... Thanks.
ReplyDeleteGet free 2gb internet.
www.internetfree.in