Throughout this chapter, we analyzed a lot of things and it's been a while since we've assigned you some homework! To complete this one, you will probably need to review what he have already said .
The app you have to build is a mini Pokédex.
The home page will show a list of Pokémon categories, such as Fire , Water, and so on. From there, the user will be able to browse a category, view its Pokémon, and add new ones.
Your routes could be something like these:
Route |
Description |
|
List categories |
|
Show category's Pokémons |
|
Add new Pokémon to category |
Each transition must be logged to the console. For example, when the user decides to browse category Fire
, a message has to be logged, informing the user that he is going to visit /category/Fire
.
We have created the Pokédex object to help you get started. You can find it at https://goo.gl/iK4D6y.