Easy

Web

Javascript

Typescript

Classic Pokeball Toy on a bunch of Pokemon Cards. Zapdos, Ninetales and a Trainercard visible.

Pokemon Pokedex shower

simple pokedex displayer in JS, HTML and CSS

In this project, we will be using the API at https://pokeapi.co/ to display the first generation of Pokemon. The display will show the Pokemon's number, name, sprite/image, and type.

Project Checklist

  • Design and implement a web-based Pokemon Pokedex display using HTML, CSS, and JavaScript/TypeScript
  • Use the Pokeapi to retrieve and display information about the first generation of Pokemon
  • Test and debug the display using sample data

Bonus Project Checklist Items

  • Implement pagination for the Pokemon display
  • Allow for custom pagination limits

Inspiration (Any companies/libraries similar)

  • Pokemon API
  • Pokeapi.co
  • Pokedex

Hint/Code snippet to start

To get started, you can use the following code snippet to set up a basic Pokemon Pokedex display using JavaScript and the Pokeapi:
// Set the base URL for the Pokeapi
const baseUrl = 'https://pokeapi.co/api/v2'

// Function to get a list of Pokemon from the Pokeapi
async function getAllPokemon() {
  try {
    // Send a GET request to the Pokeapi to retrieve the list of Pokemon
    const response = await fetch(`${baseUrl}/pokemon`)
    const data = await response.json()

    // Return the list of Pokemon
    return data.results
  } catch (error) {
    console.error(error)
  }
}