Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/adhir2099/pokeapi-ajax-nojquery

Search Pokémon by pokédex entry with ajax no JQuery needed. Just put a number between 1 and 1017 and you'll get the Pokémon.
https://github.com/adhir2099/pokeapi-ajax-nojquery

ajax bootstrap5 css3 javascript nojquery pokeapi pokemon

Last synced: about 1 month ago
JSON representation

Search Pokémon by pokédex entry with ajax no JQuery needed. Just put a number between 1 and 1017 and you'll get the Pokémon.

Awesome Lists containing this project

README

        

![Responsive](https://img.shields.io/badge/Responsive-Yes-ff69b4)
![Bootstrap](https://img.shields.io/badge/bootstrap-5.2.3-black)
![Ajax](https://img.shields.io/badge/ajax-yellow)

# Search Pokémon
Search Pokémon by Pokédex entry with ajax no JQuery needed. Just put a number between 1 and 1025 and you'll get the Pokémon.

## Demo URL



Visit demo here

# API
For this we're using Pokéapi for fetching the Pokémons

# Optional config parameters
In the if/else condition, you can customize your error alert.

```javascript
else {
alert('There was an error with the request')
}
```

Or using sweetalert.

```javascript
else {
Swal.fire("Your message here","","type of alert");
}
```
## Libraries included








Bootstrap v5.2.3


Sweetalert2

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b your-branch`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin your-branch`
5. Submit a PR
6. Support Pokéapi❤️

Get in touch with me:



adhir2099


Created with ❤️ by Adhir2099