Skip to content
Snippets Groups Projects
Commit d71728dd authored by MAHDIR Safaa's avatar MAHDIR Safaa
Browse files

mise à jour d'affichage

parent 06def397
No related branches found
No related tags found
1 merge request!2Tache2
......@@ -12,7 +12,7 @@ function displayPokemonList() {
pokemons.forEach(pokemon => {
const listItem = document.createElement("li");
listItem.textContent = `${pokemon.name} - Poids: ${pokemon.weight} kg - Taille: ${pokemon.height} m`;
listItem.textContent = `${pokemon.name} - ${pokemon.weight}kg - ${pokemon.height}m`;
listElement.appendChild(listItem);
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment