ejercicio 1: contador de clicks con addEventListener
This commit is contained in:
31
estilo.css
31
estilo.css
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user