Update MAX_POKEMON limit to 1050 and enhance ID validation in Pokémon detail view

This commit is contained in:
vista-man
2025-03-26 10:30:29 +01:00
parent 5b4fcda9d6
commit 3f6c07e363
3 changed files with 123 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
const MAX_POKEMON = 151;
const MAX_POKEMON = 1050;
const CACHE_DURATION = 24 * 60 * 60 * 1000; // 24 hours in milliseconds
const listWrapper = document.querySelector(".list-wrapper");
const searchInput = document.querySelector("#search-input");