Pokedex

An interactive Pokedex covering more than 1,000 Pokémon, written in vanilla JavaScript (OOP) on top of PokéAPI – with a planned data loading order and a local database in the browser.

  • JavaScript (ES6+)
  • OOP
  • PokéAPI
  • LocalStorage
  • SCSS
  • no frameworks
Pokedex – the Pokémon list with pagination
  • 2024year built
  • Soloa personal project – from the idea to the release
  • 1000+Pokémon from PokéAPI – a few dozen requests instead of more than 1,000
  • Vanilla JSno Vue, React or other frameworks – my own classes in plain JavaScript

What I built

Pokedex was my first bigger project in JavaScript. I wrote it alongside a course and wanted to build something harder than another to-do list. The result is an interactive encyclopedia of more than 1,000 Pokémon – in vanilla JavaScript (ES6+, OOP patterns), with no frameworks, using the public PokéAPI. While working on it, I kept getting new ideas – caught Pokémon, export between browsers, themes – and I didn't always finish one before starting the next. So I made a list and started adding changes in stages – every new idea went to a to-do list instead of pulling me away from what I was working on.

Key features

  • A planned loading order for PokéAPI data – parallel requests with Promise.all
  • A local database in the browser (LocalStorage + SessionStorage) – data is fetched from the API only once
  • A modular class architecture (DataManager, DataBuilder, StorageManager, PokemonDialog) ready for a migration to Vue 3
  • Responsive pagination synced in both directions, with its state reflected in the URL
  • Light and dark theme (also automatic, following the system setting)
  • Caught Pokémon – you can mark them in the Pokémon card, and import or export the list in the settings

How it looks

Screenshots of the live project – click one to see it bigger.

  • The list – more than 1,000 Pokémon, with the page number saved in the URL (?p=)
  • Phone – a Pokémon card open over the two-column list
  • Pokémon card – name, types and generation come straight from memory, stats are loaded from the API
  • Settings – theme, import and export of caught Pokémon, clearing the data

1 / 4

The Pokémon list with pagination

The list – more than 1,000 Pokémon, with the page number saved in the URL (?p=)

← All projects

Got a project in mind?

Or looking for someone to join your team? Write a few sentences – I'll reply within 72 hours.

I'll use your name, email and message only to reply to you. Details in the privacy policy.