Giter Site home page Giter Site logo

pokedex's Introduction

Pokedex

Mid-term assessment (React) at Adalab's programming bootcamp

This project shows a list of pokemon, with an individual card for each one, with relevant information, such as name, types and an image. The pokemon information is obtained from an array of data that we include in the state of the App component.

Another functionally is that if you click on the card it will appear on the favorite section.

Installation

This is what you have to do:

  • Download or clone the project repository.
  • Install dependencies with $ npm install.
  • Run the project with $ npm start.

Project Structure

src
├── components
│   ├── App.js
│   ├── PokeList.js --> (render the card list)
│   └── Pokemon.js --> (renders the card of each pokemon)
├── data
│   └── data.json
├── images
├── styleSheets
│   ├── App.scss
│   ├── index.scss
│   ├── PokeList.scss
│   └── Pokemon.scss 
└── index.js

I used React to make this SPA, and here's is the final result.

Pokedex-

pokedex's People

Contributors

alcocere avatar

Stargazers

Adriana Del Teso avatar

pokedex's Issues

Mejoras!!!

Buen trabajo @alcocere !

Está perfecto Elisa, solo una cosa

  • Usa propTypes para comprobar el tipo de dato de las props para practicar

se te da muy bien la programación 🥇 !!

Cuando tengas esto si quieres puedes:

  1. Añadir un click a Pokemon que: marca o desmarca el pokemon como favorito en el array del estado de App.
  2. Pasar este dato al componente Pokemon por props
  3. Pintar Pokemon con otros estilos cuando por props nos llegue la info de que el pokemon es favorito

Si tienes cualquier duda, avisa!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.