In this exercise you will be using most common terminal commands that you'll need in order to succeed in this class. The things you can do in the terminal are virtually endless, but we just want to focus on the most commonly used and basic.
Before you Begin
cd into a directory called
terminal-practice from your exercises directory. We'll remain within this directory the entire duration of this exercise so that we don't accidentally mess up anything. :)
Create two directories directly under
terminal-practice. Name them
dir-one create three files:
Copy the contents of
dir-one and put them into
dir-two and rename
main.js and delete
vi to add a "Hello World" function to
main.js. Add boilerplate code to index.html (dotctype, html, header, and body tags) along with a script tag to main.js.