Skip to content

Instantly share code, notes, and snippets.

@drmikeh
Last active November 7, 2016 14:32
Show Gist options
  • Save drmikeh/5a3071a6b53b41346a898f2146c74715 to your computer and use it in GitHub Desktop.
Save drmikeh/5a3071a6b53b41346a898f2146c74715 to your computer and use it in GitHub Desktop.
ATL WDI Assignments for Monday November 7

Here is the reading / lab work for Monday, November 7 2016

Reading

Another very good resource is A re-introduction to JavaScript (JS tutorial)

Homework for Wednesday (may require using Arrays)

Options for Running JavaScript

You have many options for running JavaScript code:

  • Use a website such as repl.it
  • Use a website such as codepen
  • Write a simple HTML page that uses a <script> tag containing JavaScript
  • Write a simple HTML page that uses a <script> tag to load your JavaScript file
  • Install NodeJS using brew:
    • brew install node
    • brew --version # check the version: should print a 6.x or 7.x version
    • touch hello.js
    • put something in hello.js, such as the line: console.log('Hello from JavaScript.');
    • run hello.js using node: node hello.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment