Primer EJ terminado

This commit is contained in:
2026-05-14 15:39:37 -03:00
parent 167bbaaf54
commit 9c81164673
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.
//1
const tituloh1 = document.querySelector("h1")
console.log(tituloh1.textContent);
tituloh1.textContent = "Titulo reemplazado correctamente"

View File

@@ -32,4 +32,5 @@
<p>Este es otro párrafo del montón.</p>
</div>
</body>
<script src="ejercicios-clase-8.js"></script>
</html>