ejercicio 1

This commit is contained in:
Nicolas Murua
2026-05-13 20:11:36 -03:00
parent 167bbaaf54
commit ccab67b2b7
2 changed files with 5 additions and 0 deletions

View File

@@ -1 +1,5 @@
// Vincular este archivo al archivo index.html, y resolver aquí los ejercicios.
function cambiarText(texto){
const textoH1 = document.querySelector("h1");
textoH1.textContent = texto;
}