Update README.md

master
Kristyn Bryan 10 years ago committed by GitHub
parent f63e41195e
commit aa2355c223

@ -27,7 +27,7 @@ Prerequisites: Javascript <br>
Tonight you will be using your new found skills to create three separate Express apps.
<br>
#Greetings APP
##Greetings APP
- Create an express application (see the bottom of this homework for a reminder).
- Your app should have a route of `'/greeting/:name'` and it should expect *1 param* which takes in a person's name.
- When hitting the route, the page should display a message such as "Hello, <name>", or "What's up, `<name>`", or "`<name>`! It's so great to see you!" (ex. hitting `'/greeting/Jimmy-boy'` should display `Wow! Hello there, Jimmy-boy` on the page).
@ -39,7 +39,7 @@ Tonight you will be using your new found skills to create three separate Express
<br>
#Tip Calculator APP
##Tip Calculator APP
- Create an express application (see the bottom of this homework for a reminder).
- Your app should have a route of `'/tip'` and it should expect *2 params*. One should be `total` and one should be `tipPercentage`.
- When hitting the route, the page should *display how much your tip will be* based on the total ammount of the bill and the tip percentage. (ex. hitting `'/tip/100/20'` should display `20` on the page).
@ -50,7 +50,7 @@ Tonight you will be using your new found skills to create three separate Express
<hr>
<br>
#Magic 8 Ball APP
##Magic 8 Ball APP
- Create an express application.
- Create a route of `'/magic'` that should expect a phrase in the URL that ask the Magic 8 ball a question.
- So if the user hits that route and asks a question of "Will I be a Millionaire" (ex. `'/magic/Will%20I%20Be%20A%20Millionaire'`) he should have return to him his question AND a random Magic 8 ball response (see the array below) on the screen.
@ -67,7 +67,7 @@ Tonight you will be using your new found skills to create three separate Express
"Commit 3: Magic 8 Ball express application created."
<hr>
# Reminder on how to set up an express application
## Reminder on how to set up an express application
- Create a Javascript file (`.js`) for each express application (ex: `tip_calculator.js`).
- Inside your homework folder, install express `npm install --save express`
- Check your files. Hint: `ls`. If you have a `node_modules` folder with `express` somewhere inside, then you've successfully added express to your folder.

Loading…
Cancel
Save