WIPull #3

Open
arteche.mateo wants to merge 9 commits from arteche.mateo/clase-8-DOMprkkkk:mateo-arteche-rama into main
Showing only changes of commit 52f44d3c2f - Show all commits

View File

@@ -29,4 +29,15 @@ lista1.append(agregarItemNuevo);
agregarItem("ejemplo1");
agregarItem("ejemplo2");
agregarItem("ejemplo3"); //Ejercicio 3
agregarItem("ejemplo3"); //Ejercicio 3
const p1 = document.querySelectorAll("#parrafos p");
for(const parrafo of p1){
if(parrafo.textContent.includes("importante")){
parrafo.classList.add("destacado");
}
} //Ejercicio 4