Skip to content

Malgorzata-Niemczyk/homework-5-jfdzr2-pokedex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Praca domowa nr 5

Link to - My Pokedex

Pokedex

This is a homework activity assigned on a React module while taking the Front-end Developer course at InfoShare Academy. The aim of this activity is to create POKEDEX using Pokemon API :)

PokeApi - https://pokeapi.co/api/v2/

Topics that are covered in this task

  • Routing
  • Integration with an external API
  • Handling hooks
  • Integration with localStorage
  • Rendering the elements
  • Creating components

Scores for The Task

Correct routing - 2 pkt

Fetching the pokemons list and displaying it - 2 pkt

Handling intermediate states - 1 pkt

Adding to Favourites - 1 pkt

Displaying the data from the localStorage on the Favourites page - 2 pkt

Page with a detailed description of a pokemon - 3 pkt (+ adding to Favourites)

Extra

PREV i NEXT buttons + handling API pagination - 2 pkt

Setting the limit of 6 pokemons on The Favourites page and removing the first added pokemon from this page when a user adds a pokemon over this limit - 2 pkt


Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.