javascript quiz
javascript quiz
Client
Server
Both (A)
None
2. Which of the following will write the message “Hello DataFlair!” in an alert
box?
alertBox(“Hello DataFlair!”);
alert(Hello DataFlair!);
msgAlert(“Hello DataFlair!”);
alert(“Hello DataFlair!”); (A)
4. Which is the correct JavaScript syntax to change the HTML content given
below?
A. Netscape (A)
B. Bell Labs
C. Sun Microsystems
D. IBM
A. alert-box("Letsfindcourse");
B. confirm("Letsfindcourse");
C. msgbox("Letsfindcourse");
D. alert("Letsfindcourse"); (A)
A. <script src="LFC.js">(A)
B. <script source="LFC.js">
C. <script ref="LFC.js">
D. <script type="LFC.js">
A. Alert
B. Prompt
C. Confirm
D. All of the above