Clase-8-DOM #7

Open
dipaolo.lucio wants to merge 4 commits from dipaolo.lucio/clase-8-DOM:navegador-y-dom into main
2 changed files with 5 additions and 0 deletions
Showing only changes of commit 9c81164673 - Show all commits

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>