Ejercicio 1

This commit is contained in:
Alexis08041992
2026-05-28 22:28:40 -03:00
parent 167bbaaf54
commit 0e97e56c3d
2 changed files with 7 additions and 1 deletions

View File

@@ -1 +1,6 @@
// Vincular este archivo al archivo index.html, y resolver aquí los ejercicios.
console.log("JS vinculada bro");
const titulo = document.querySelector("h1");
console.log(titulo.textContent); // lee el texto actual
titulo.textContent = "La mejor comida del mundo";