diff --git a/unit_02/w05d02/homework/README.md b/unit_02/w05d02/homework/README.md index 96ee9f9..94566a0 100644 --- a/unit_02/w05d02/homework/README.md +++ b/unit_02/w05d02/homework/README.md @@ -27,7 +27,7 @@ Prerequisites: Javascript
Tonight you will be using your new found skills to create three separate Express apps.
-#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, ", or "What's up, ``", or "``! 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
-#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

-#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."
-# 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.