Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What are the two parts of JavaScript libraries?

  2. A.

     “script” tag and “body” tag

    B.

     External JavaScript and the “script” tag

    C.

     “html” tag and “body” tag

    D.

     None of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    All JavaScript libraries consists of two parts:
    1. The external JavaScript itself, which is simply a text file with the containing JavaScript code, saved as a .js file.
    2. A “script” tag referencing the external JavaScript file and defined on the page(s) that uses the library.


Be The First To Comment