From 1038f3cf20c1a016a4a415f56771b8a4864fa138 Mon Sep 17 00:00:00 2001 From: Kristyn Bryan Date: Tue, 14 Jun 2016 16:12:20 -0400 Subject: [PATCH] Update homework_instructions.md --- .../Pokeman_Starter/homework_instructions.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/unit_02/w05d02/homework/Pokeman_Starter/homework_instructions.md b/unit_02/w05d02/homework/Pokeman_Starter/homework_instructions.md index 3ac1b2e..19e3273 100644 --- a/unit_02/w05d02/homework/Pokeman_Starter/homework_instructions.md +++ b/unit_02/w05d02/homework/Pokeman_Starter/homework_instructions.md @@ -21,16 +21,16 @@ The views folder is empty, and it's up to you to make the appropriate folders an - in `server.js` set up your server according to the prompts - `npm install --save ejs` -**Commit 1**
+**Commit 4**

-"Commit 1: Installed express and ejs." +"Commit 4: Installed express and ejs."
Your `server.js` will have two routes, one for displaying an index of all the pokemon, and one for showing a single pokemon according to the user's input. -**Commit 2**
+**Commit 5**

-"Commit 2: Created two routes. One for the index of all pokeman and one for a single pokeman." +"Commit 5: Created two routes. One for the index of all pokeman and one for a single pokeman."
- Make the views. Make sure you installed ejs. @@ -45,25 +45,25 @@ This view will show the data of a single pokemon. Using ejs, this view should di - The pokemon's name - The image of the pokemon -**Commit 3**
+**Commit 6**

-"Commit 3: Created the show view." +"Commit 6: Created the show view."
Next, make your `index.ejs` view. This view will show only the names of each pokemon. All 151 images. (You'll need to use a loop in the ejs). -**Commit 4**
+**Commit 7**

-"Commit 4: Created the index view." +"Commit 7: Created the index view."
## BONUS When the user clicks on a pokemon's name, they will be taken to that pokemon's show page. You can use an `` tag to accomplish this. - **Commit 5**
+ **Commit 8**

-"Commit 5: BONUS: Created a way for users to click on a pokeman's name and redirect to their show page." +"Commit 8: BONUS: Created a way for users to click on a pokeman's name and redirect to their show page."