1.

What is the initial step to set up a CSS Lazy Loading?(a) Fetching data(b) Loading the script(c) Loading the page(d) Adding the event listenerThis question was posed to me during an online exam.This question is from Lazy Loading topic in portion Invocation and Performance Navigation of JavaScript

Answer»

Right option is (a) Fetching data

Easy EXPLANATION: The LOADING attribute allows a browser to defer loading offscreen images and iframes until USERS scroll NEAR them. The CSS Lazy Loading is begun with fetching the JAVASCRIPT and the CSS files.



Discussion

No Comment Found

Related InterviewSolutions