Skip to content

Instantly share code, notes, and snippets.

@hhff
Last active June 26, 2020 17:17
Show Gist options
  • Save hhff/20c47c7befd5a01273fafbfc410227d7 to your computer and use it in GitHub Desktop.
Save hhff/20c47c7befd5a01273fafbfc410227d7 to your computer and use it in GitHub Desktop.
Using https://pokeapi.co/
1. User navigates to / (homepage)
2. User sees a clickable list of Pokemon names
3. User clicks a Pokemon, and they are linked to `/:pokemonName` (/ditto)
4. The Pokedex shows basic information about the Pokemon that the user selected (weight, height, id, and other basic attributes)
5. Nice to Have: The Pokedex enders an image of the pokemon.
6. Nice to Have: Add a button to the Pokemon show page that allows you to "capture" a pokemon if you have not already caught it, and this state should persist over page refresh.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment