Merge pull request #4 from CTEC3905-2022/pokedex

Pokedex
This commit is contained in:
Notoric 2024-04-16 22:01:35 +01:00 committed by GitHub
commit 14e2d9bdd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 3 deletions

View File

@ -288,7 +288,7 @@ h3 {
overflow: hidden;
height: fit-content;
position: relative;
overflow-y: scroll;
overflow-y: auto;
}
#description-carousel .description-carousel-item {

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

View File

@ -740,7 +740,12 @@ function pokemonCarousel(direction) {
rightButton.style.display = "block";
}
transitionPokemonCarousel(activePokemonCarousel);
try {
transitionPokemonCarousel(activePokemonCarousel);
} catch {
//carousel not built yet
}
}
function transitionPokemonCarousel(i) {

View File

@ -21,4 +21,6 @@ The `js/scripts.js` file contains a simple console.log statement to confirm that
All images inside `assets/photos` folder are from https://pixabay.com and used under the licence outlined here https://pixabay.com/service/terms/
All SVG Vectors are from https://www.svgrepo.com
All SVG Vectors are from https://www.svgrepo.com
This application makes use of the PokeAPI, which can be found at https://pokeapi.co/