1.

When is JavaScript called obtrusive?(a) JavaScript code is medium sized(b) JavaScript code is small(c) JavaScript code is so large(d) JavaScript code is Very smallI had been asked this question in an international level competition.Question is from Scripted Media in division Graphics and Rendering of JavaScript

Answer»

Correct option is (c) JavaScript code is so LARGE

Explanation: When the amount of JavaScript code is so large that it effectively obscures the HTML, we CALL JavaScript as obtrusive. On the other hand unobtrusive JavaScript is a best practice methodology for attaching JavaScript to the front-end of a WEBSITE.



Discussion

No Comment Found

Related InterviewSolutions