Pre-Quiz - Attempt Review - Js
Pre-Quiz - Attempt Review - Js
Quiz review
Questi When a user views a page containing a JavaScript program, which machine actually executes the script?
on 1 Select one:
Correct Database Server
52942
Mark 1.00 The Web server
out of 1.00
A central machine deep within Netscape's corporate offices
Questi Sita wishes to greet the user when the user clicks on "Greet Me" button. In which event does she need to write the JavaScript code for greeting the user?
on 2 Select one:
52942
Correct onchange
onmouseclick
Questi Which of the below statements are used to comment a line in JavaScript file?
on 3 Select one:
52942
/* this is a comment */
Correct
Select one:
Mark 1.00 document.getElement("p").innerHTML = "Never give up!!";
out of 1.00
document.getElementById("pid1").innerHTML = "Never give up!!";
Questi David, a beginner in web development trying to perform one particular operation using client side JavaScript. Choose the correct option(s) that he can't be done
with client-side JavaScript?
on 5
Correct Select one:
Display the alert box to the user
Mark 1.00 52942
out of 1.00 Validate a form
Questi When you want to enclose; some JavaScript statements to an HTML file, which is the correct tag you have to use?
on 6 Select one:
52942
Correct <BODY>
<STYLE>