Fixed Image Source Link.
Fixed Image Source Link, Changed Link because old link is expired, and added new link with Sprites.
This commit is contained in:
parent
4dd2f9dd57
commit
5ac19e4677
@ -47,7 +47,7 @@ const createPokemonCard = (pokemon) => {
|
||||
|
||||
const pokemonInnerHTML = `
|
||||
<div class="img-container">
|
||||
<img src="https://pokeres.bastionbot.org/images/pokemon/${pokemon.id}.png" alt="">
|
||||
<img src="https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/${pokemon.id}.png"" alt="${name}">
|
||||
</div>
|
||||
<div class="info">
|
||||
<span class="number">#${id}</span>
|
||||
|
Loading…
Reference in New Issue
Block a user