Pull request Nicolas Murua #2

Open
murua.nicolas wants to merge 9 commits from murua.nicolas/clase-8-DOM:ramaMurua into main
2 changed files with 5 additions and 0 deletions
Showing only changes of commit ccab67b2b7 - Show all commits

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;
}

View File

@@ -31,5 +31,6 @@
<p>¿Y este párrafo? ¿Será importante?</p>
<p>Este es otro párrafo del montón.</p>
</div>
<script src="ejercicios-clase-8.js"></script>
</body>
</html>