![ga](http://mobbook.generalassemb.ly/ga_cog.png)

# WDI-PANTHALASSA

---
Title: Homework w05d01 <br>
Type: Homework<br>
Duration: "1:00"<br>
Creator:<br>
    Original creators: Thom Page & WDI-Funke<br>
    Adapted by: Thom Page & Kristyn Bryan<br>
    Course: WDIr Panthalassa<br>
Competencies: Node, HTTP<br>
Prerequisites: Node<br>

---

# Homework
###HTTP Questions
1. What are the key differences between a server and a client?

2. What is an HTTP request?

3. What is the request-response cycle?

**Commit 1** <br>
<hr>
The commit message should read: <br>
"Commit 1: Answered introductory questions about HTTP requests."
<hr>

###Node.js - Node Package Manager
Watch [this video](https://youtu.be/kOLJhwbD7tQ?list=PLw1xVKFbouemJxSHuHggMQ97C3OECH1zG)
 to help you understand node and node packages 
 
###Conceptual Questions
1. What is a node package? Give two examples of a node package.

2. How do you initialize node package manager for a directory?

3. Which file will always appears in your directory when you install the node package manager? 

4. Research the node package 'Express' and explain why we might want to use it.

**Commit 2** <br>
<hr>
The commit message should read: <br>
"Commit 2: Answered questions about node and npm"
<hr>

###BONUS - Exercies
If you have any energy left, and want to get some practice in with node, follow the directions below. Under each question, write the line of code that you used in the terminal to accomplish each task (refer back to the video above if you need help).

1. Create folder and a .js file called `npmtest`.
2. install node package manager.
3. modify the .json file so that you will be able to type "start" in node to execute your npmtest file.
4. install the npm color package and require it in your npmtest file.
5. make the following sentence display in a zebra color: "Guess my favorite animal...".

Extra Bonus - Feel free to play around with `cowsay`.
<hr>
The commit message should read: <br>
"Commit 3: BONUS: Practiced installing a node package and used it."
<hr>
