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 8 additions and 0 deletions
Showing only changes of commit 67173a3a9f - Show all commits

View File

@@ -2,4 +2,11 @@
function cambiarText(texto){
const textoH1 = document.querySelector("h1");
textoH1.textContent = texto;
}
function agregarItem(){
const listaComida = document.querySelectorAll(".item-comida");
for (const i of listaComida){
i.classList.add("item-lista");
}
}

View File

@@ -101,6 +101,7 @@ h1 {
font-weight: bold;
}
/* =========================
IMAGEN
========================= */