Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stephenombuya/pokemon-search-app

Welcome to the Pokémon Search App! This project allows users to search for Pokémon by their name or ID and view detailed information about them, such as their stats, types, and sprite image.
https://github.com/stephenombuya/pokemon-search-app

api-integration async-await css3 html5 javascript

Last synced: 29 days ago
JSON representation

Welcome to the Pokémon Search App! This project allows users to search for Pokémon by their name or ID and view detailed information about them, such as their stats, types, and sprite image.

Awesome Lists containing this project

README

        

# **Pokémon Search App**
Welcome to the Pokémon Search App! This project allows users to search for Pokémon by their name or ID and view detailed information about them, such as their stats, types, and sprite image.

### **Features**
1. Search Pokémon by name or ID.
2. Display Pokémon details such as:
- Name
- ID
- Weight
- Height
- Types
- Stats: HP, Attack, Defense, Special Attack, Special Defense, and Speed.
3. Show Pokémon sprite image dynamically.
4. Clear previous search results when a new search is performed.
5. Handles errors gracefully (e.g., when a Pokémon is not found).

### **Technologies Used**
- **HTML5**: Structure of the app.
- **CSS3**: Styling for layout, colors, and responsiveness.
- **JavaScript**: Fetching data from the PokéAPI and dynamically updating the UI.
- **PokéAPI**: Used for retrieving Pokémon data.

### **How to Run the Project**
1. Clone the repository:

```
git clone https://github.com/stephenombuya/pokemon-search-app/tree/main
```

2. Navigate to the project folder:

```
cd pokemon-search-app
```

3. Open the index.html file in your browser.

### **Project Structure**

```
pokemon-search-app/

├── index.html # HTML structure
├── style.css # Styles for the app
├── script.js # JavaScript logic for search functionality
└── README.md # Project documentation
```

### **Contributing**
- Fork the repository.
- Create a new branch:

```
git checkout -b feature-name
```

- Commit your changes:

```
git commit -m "Add feature-name"
```

- Push to the branch:

```
git push origin feature-name
```

- Open a Pull Request.


### **License**
This project is licensed under the GNU License.