|
|
10 years ago | |
|---|---|---|
| .. | ||
| .gitkeep | 10 years ago | |
| README.md | 10 years ago | |
README.md
WDI-PANTHALASSA
Title: Homework w05d01
Type: Homework
Duration: "1:00"
Creator:
Original creators: Thom Page & WDI-Funke
Adapted by: Thom Page & Kristyn Bryan
Course: WDIr Panthalassa
Competencies: Node, HTTP
Prerequisites: Node
Homework
###HTTP Questions
-
What are the key differences between a server and a client?
-
What is an HTTP request?
-
What is the request-response cycle?
Commit 1
The commit message should read:
"Commit 1: Answered introductory questions about HTTP requests."
###Node.js - Node Package Manager Watch this video to help you understand node and node packages
###Conceptual Questions
-
What is a node package? Give two examples of a node package.
-
How do you initialize node package manager for a directory?
-
Which file will always appears in your directory when you install the node package manager?
-
Research the node package 'Express' and explain why we might want to use it.
Commit 2
The commit message should read:
"Commit 2: Answered questions about node and npm"
###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).
- Create folder and a .js file called
npmtest. - install node package manager.
- modify the .json file so that you will be able to type "start" in node to execute your npmtest file.
- install the npm color package and require it in your npmtest file.
- make the following sentence display in a zebra color: "Guess my favorite animal...".
Extra Bonus - Feel free to play around with cowsay.
The commit message should read:
"Commit 3: BONUS: Practiced installing a node package and used it."
