Skip to content

Instantly share code, notes, and snippets.

@dwayne
Last active August 29, 2015 13:56
Show Gist options
  • Save dwayne/9247336 to your computer and use it in GitHub Desktop.
Save dwayne/9247336 to your computer and use it in GitHub Desktop.
Tuts+ Premium Course - JavaScript Fundamentals 101 - Notes

Getting Started

Prerequisites:

There are two ways to get JavaScript on the page:

  1. Inline scripts

    <script>
      console.log("Hello, world!");
    </script>
  2. Embeded scripts

    // hello.js
    console.log("Hello, world from script!");
    <script src="hello.js"></script>

For more on the script element see: https://developer.mozilla.org/en/docs/Web/HTML/Element/script.

Resources:

Data and Variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment