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 small

Correct Answer: JavaScript code is so large

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.

Next steps