ejercicio 1: contador de clicks con addEventListener

This commit is contained in:
2026-05-24 14:02:29 -03:00
parent ddefc238dc
commit 28e2e92142
3 changed files with 178 additions and 6 deletions

View File

@@ -3,3 +3,34 @@ div {
padding: 10px;
margin: 10px;
}
.seleccionado {
background-color: #7DAA3C;
color: #fff;
}
#listaItems {
list-style: none;
padding: 0;
}
#listaItems li {
cursor: pointer;
padding: 5px;
margin: 4px 0;
border: 1px solid #8A8A8A;
}
.error {
color: #b30000;
font-size: 0.9em;
display: block;
margin-top: 4px;
}
.success {
color: #0a6f0a;
font-weight: bold;
margin-top: 10px;
}