Users can:
- Search for a Pokémon by name and get suggestions based on the matches.
- Navigate through a list of over 800 Pokémon cards, divided into pages, each card showing the name, ID, and types of the Pokémon.
- Mark or unmark a card as a favorite by clicking the star in the top right corner.
- View detailed information about the Pokémon by clicking on a card, divided into 5 sections:
- General: name, types, and a brief description.
- Dimensions: weight and height.
- Statistics: HP, attack, defense, special attack, special defense, and speed.
- Appearance variations: default, female, shiny, and shiny female.
- Evolution process.
- Access the favorites section, where the user's marked favorite cards are stored, showing the name, ID, and types, and allowing them to rearrange the cards as they please.
- Change the language of the web application at any time from the footer, choosing between 3 languages: Spanish, English, and Portuguese. The language will be saved for the next session.
- Languages: HTML, CSS, JavaScript
- Libraries and APIs: React.js, PokeAPI API
- Fonts: Source Code Pro
- Colors
- Primary: #6246ea
- Secondary: #d1d1e9
- White: #fffffe
- Black1: #010101
- Black2: #2b2c34
- Gray1: #72757e
- Gray2: #94a1b2
To download and test the project on your local environment, follow these steps:
- Make sure you have Node.js and npm installed on your system.
- Download or clone the repository onto your computer.
- In the terminal, access the project directory and run
npm install
to install all the dependencies. - Run
npm start
to start the development server. - Open your browser and go to
http://localhost:3000
to view the app.
- react
- react-dom
- react-router-dom
- react-spinners
- sortablejs
- i18next
You can try and interact with the website here.
- Use of react-router-dom: BrowserRouter, HashRouter, Routes, Route, Navigate, NavLink
- Hooks: useState, useEffect, useParams, useNavigate, useRef, useTranslation
- Libraries: sortablejs, i18next
- Portfolio: www.jaenfigueroa.com
- Email: [email protected]
- Github: @jaenfigueroa
- Linkedin: @jaenfigueroa
- Whatsapp: +51 995780916