Interaction: alert, prompt, confirm.
Let's take a look at them one by one.
alert:
It shows a message & waits for the user to click on the "Ok" button.
Syntax:
alert("Hey,ThisIsRahul");
This small window will pop up on your screen with the message is called a "Modal window".
The wor...
thisisrahul.hashnode.dev2 min read
Anshu singh
Keep writing ..😊