0
Which of the following is the correct syntax to display “blogmepostsforblogmeposts” in an alert box using JavaScript?

Open 1 Answers 241 Views Technology
Which of the following is the correct syntax to display “blogmepostsforblogmeposts” in an alert box using JavaScript?

A. alertbox(“blogmepostsforblogmeposts”);

B. msg(“blogmepostsforblogmeposts”);

C. msgbox(“blogmepostsforblogmeposts”);

D. alert(“blogmepostsforblogmeposts”);

1 Answer

0
alert(“blogmepostsforblogmeposts”);

Explanation: To display any text in the alert box, you need to write it as alert(“blogmepostsforblogmeposts”);.
by (279k points)
...