Create a pokemon search engine using the Fetch API and the Pokemon API.
Using the Fetch API, and the Pokemon API;
- Build a website that allows the user to search for Pokemon. The user should be able to interact with the page using an
<input />
field and a<button>
.
-
There should be an
<input />
field for the search criteria -
There should be a button which on
click
, uses thevalue
of the<input />
field to;- Check the
value
is not empty - If
value
is empty, display a warning to the user - Search the Pokemon API
- Display the result from the API on the page
- The result should include the following properties;
- name
- front_default (image)
- stats
- abilities
- Check the
-
The results should be styled to look like a card (see Expected Result below)