Update README.md

master
Kristyn Bryan 10 years ago committed by GitHub
parent 97bb9d0505
commit f9b255e544

@ -16,23 +16,49 @@ 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?
4. Research what a 'node package' is and explain it.
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.
5. 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>
Video about NPM
https://www.youtube.com/watch?v=gvGjaqZducI&index=2&list=PLw1xVKFbouel1pRYoEMgNO53YTMN3TSYP
###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).
GIST:
https://gist.github.com/kristynrb/d89afd26c4c4421313bd
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>

Loading…
Cancel
Save