main #15

Open
hidalgo.geronimo wants to merge 6 commits from hidalgo.geronimo/clase-8-DOM:main into main
2 changed files with 7 additions and 0 deletions
Showing only changes of commit d5979f13db - Show all commits

View File

@@ -1 +1,7 @@
// Vincular este archivo al archivo index.html, y resolver aquí los ejercicios.
// Ejercicio 1
const changeText = (str) => {
const h1 = document.querySelector("h1");
h1.textContent = str;
}

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>