feat/excersices #6

Open
saucedo.facundo wants to merge 8 commits from saucedo.facundo/clase-8-DOM:feat/excersices into main
Showing only changes of commit eda48c462d - Show all commits

View File

@@ -68,4 +68,11 @@ const cleanList = (id) => {
while (list.firstChild) {
list.removeChild(list.firstChild);
}
}
}
// Ejercicio 7
const changeImage = () => {
const image = document.querySelector('img');
image.src = "foto2.jpg";
image.alt = 'Locro';}