From d71728dd2b489539e70173f10b8e737598520103 Mon Sep 17 00:00:00 2001 From: Safaa Mahdir <safaa.mahdir@imt-atlantique.net> Date: Wed, 26 Mar 2025 15:51:22 +0100 Subject: [PATCH] =?UTF-8?q?mise=20=C3=A0=20jour=20d'affichage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index 44ff9c5..a405635 100644 --- a/script.js +++ b/script.js @@ -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); }); } -- GitLab