From 9c811646732aa0edba99249b5684d644904e8385 Mon Sep 17 00:00:00 2001 From: lucio <47898791@terciariourquiza.edu.ar> Date: Thu, 14 May 2026 15:39:37 -0300 Subject: [PATCH] Primer EJ terminado --- ejercicios-clase-8.js | 4 ++++ index.html | 1 + 2 files changed, 5 insertions(+) diff --git a/ejercicios-clase-8.js b/ejercicios-clase-8.js index af39c43..d53afe0 100644 --- a/ejercicios-clase-8.js +++ b/ejercicios-clase-8.js @@ -1 +1,5 @@ // Vincular este archivo al archivo index.html, y resolver aquí los ejercicios. +//1 +const tituloh1 = document.querySelector("h1") +console.log(tituloh1.textContent); +tituloh1.textContent = "Titulo reemplazado correctamente" \ No newline at end of file diff --git a/index.html b/index.html index 0c393ac..ebffcd8 100644 --- a/index.html +++ b/index.html @@ -32,4 +32,5 @@

Este es otro párrafo del montón.

+