Pull request Nicolas Murua #2

Open
murua.nicolas wants to merge 9 commits from murua.nicolas/clase-8-DOM:ramaMurua into main
Showing only changes of commit d6199a07ea - Show all commits

View File

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