Computer Science, asked by shagunblue07, 1 month ago

Write a program in JavaScript to an alert window and a confirm window dialog box with relevant messages as per your choice.



Pls answer this

Answers

Answered by dipaliagrawal15712
0

Answer:

Use the alert() function to display a message to the user that requires their attention. This alert box will have the OK button to close the alert box. The alert() function takes a paramter of any type e.g., string, number, boolean etc.

Similar questions