Skip to content

Instantly share code, notes, and snippets.

@jalkoby
Created February 12, 2019 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jalkoby/1cc21ffb347196ac69c43add7ebe7863 to your computer and use it in GitHub Desktop.
Save jalkoby/1cc21ffb347196ac69c43add7ebe7863 to your computer and use it in GitHub Desktop.
A test task for frontend(react) dev
Add a simple gallery of pokemons (using a pokemon API)
Requirements:
- fetch data using (GET https://pokeapi.co/api/v2/pokemon), more info can be found https://pokeapi.co
- display each record as a card with name & image (https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/:id.png)
- add ability to move back and forward
- by click on a card fetch a pokemon's details from (GET https://pokeapi.co/api/v2/pokemon/:id) and show height, weight, moves as overlay on image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment