Home / CSE / Javascript - CS :: Invocation and Performance Navigation

CSE :: Javascript - CS

  1. What is the inital step to set up a CSS Lazy Loading?

  2. A.

     Fetching data

    B.

     Loading the script

    C.

     Loading the page

    D.

     Adding the event listener

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. What is the purpose of holding whatever tag you create in the attribute type?

  4. A.

     To have more information

    B.

     To identify the scripting language

    C.

     All of the mentioned

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. What does the appendChild() method perform?

  6. A.

     Appends a node in the middle of the index taken as the parameter

    B.

     Appends a node as the first child

    C.

     Appends a node as the last child

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. What should be the value of the type attribute of a variable if the type of file is CSS?

  8. A.

     text/js/css

    B.

     text/js

    C.

     text/css

    D.

     text

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. How to lazy load images?

  10. A.

     Remove the rel attribute

    B.

     Remove the src attribute

    C.

     Make rel = src

    D.

     Make src = rel

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. What does the rel attribute of a variable have when the type of file is CSS?

  12. A.

     css

    B.

     stylesheet

    C.

     text/css

    D.

     all of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. What is the parameter of the method getElementsbyTagName() if we need to get an image?

  14. A.

     image

    B.

     src

    C.

     img

    D.

     imageurl

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. How do we stop blocking of loading and executing the perfLogger, a logging type data?

  16. A.

     Inlining the perfLogger

    B.

     Removing the perfLogger

    C.

     Placing the perfLogger before the “script” tag

    D.

     None of the mentione

    View Answer

    Workspace

    Discuss Discuss in Forum