Ask Question

You are creating some Webpages for a project using a GUI HTML editor. Your supervisor directs you to collaborate with another developer to include jа vascript into several of the pages. How can you include this code in your pages?

+1
Answers (1)
  1. 28 July, 08:51
    0
    Using a tag.

    Explanation:

    With the tag you can add jа vascript code to your html.

    The best way to do it is to link to a. js file this way

    that way you can use the same file in many different pages.

    There's also the possibility to put the js code directly into the html file like this

    This is not considered a good practice since it would only work for one page, but it's one of the options available.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “You are creating some Webpages for a project using a GUI HTML editor. Your supervisor directs you to collaborate with another developer to ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers