JavaScript-AlertBox

Which of the following is the correct syntax to display "Habitat School" in an alert box using JavaScript?
alert-box("Habitat School");
alert("Habitat School");
msgbox("Habitat School");
box("Habitat School");
Which is the correct JavaScript statement to display "Habitat School" into an alert box?
alert("Habitat School");
alert('Habitat School');
alert(Habitat School);
Both A. and B.
This alert box will have the ________ button to close the alert box.
Which funtion is used when a JS application must ensure that the user gets the information that is displayed?
prompt box
alert box
confirm box
all of these
Which funtion is used when a JS application must ensure that the user gets the information that is displayed?
prompt box
alert box
confirm box
all of these
0
{"name":"JavaScript-AlertBox", "url":"https://www.quiz-maker.com/Q8SPKN8DD","txt":"Which of the following is the correct syntax to display \"Habitat School\" in an alert box using JavaScript?, Which is the correct JavaScript statement to display \"Habitat School\" into an alert box?, This alert box will have the ________ button to close the alert box.","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker