Skip to content

Explain the <script> tag #2

@benjiallen

Description

@benjiallen

Learning outcome

The <script> tag let's us link to JavaScript files. We can link to our own JavaScript files and we can link JavaScript files that others have made. We're going to do both of these things in our lesson today.

To do

  • Step by step instructions on creating an HTML file
    • If a student has taken the HTML class already this will just be a refresher
  • Quick recap on some of the basic tags needed to create a web page
    • <html>, <head>, <body>
  • Step by step on using <script>
    • Linking to someone else's JavaScript files e.g., P5.js
    • Linking to their own JavaScript files e.g., sketch.js
  • Explain what linking a JavaScript file means. It let's us write JavaScript code which runs in the HTML page we've just created

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions