From c428b0a3fe6319ffc8398edab77636649c7a150b Mon Sep 17 00:00:00 2001 From: vvaldesc <124901115+vvaldesc@users.noreply.github.com> Date: Mon, 13 Nov 2023 11:37:35 +0100 Subject: [PATCH] GitHub not showing character --- assets/png/{character_2.png => character2.png} | Bin js/script.js | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename assets/png/{character_2.png => character2.png} (100%) diff --git a/assets/png/character_2.png b/assets/png/character2.png similarity index 100% rename from assets/png/character_2.png rename to assets/png/character2.png diff --git a/js/script.js b/js/script.js index 38a8a2c..1d0e0d2 100644 --- a/js/script.js +++ b/js/script.js @@ -243,7 +243,8 @@ function cargaPersonaje() { character_1.style.left = "650px"; character_1.style.top = "90px"; character_1.id = "character_1"; - character_1.src = "../assets/png/character_2.png"; + character_1.alt = "Theo_personaje" + character_1.src = "../assets/png/character2.png"; return character_1; }