Firstly, using terminal install YQL and request if you don't have it already:
npm install request
npm install yql
Create a new .js file - make sure you can navigate to it with the terminal prompt to run.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
You need to find the repl.it link for the solar system that you made last week - if for whatever reason you can't or you have lost it I have made you a starting jsfiddle - you will need to copy it into your repl.it before you start!
There are many ways to represent colours with computers - we've been telling our svg shapes to be "red" or "yellow" or "green" - this isn't great if you want a specific colour green!
Enable jQuery
body
of the HTML file (index.html)