```html
- Jessie
- Blake
- Charlie
- Parker
```
CSS
```css
html {
padding: 10px;
--button-background: #eef;
--button-hover-background: #dde;
--highlighted-li-background: #ffa
}
#people_list {
display: flex;
flex-direction: column;
gap: 10px;
padding: 0;
}
li {
list-style: none;
padding: 10px;
background: whitesmoke;
border-radius: 5px;
}
#metadata {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 10px;
}
button {
border: none;
padding: 10px;
border-radius: 5px;
cursor: pointer;
background: var(--button-background)
}
button:hover {
background: var(--button-hover-background)
}
.selected {
background: var(--highlighted-li-background)
}
```
JS
```js
function show(color) {
reset()
elements = document.querySelectorAll(`li[hair="${color}"]`)
elements.forEach((e) => {
e.classList.add("selected")
})
}
function reset() {
elements = document.querySelectorAll(`li`)
elements.forEach((e) => {
e.classList.remove("selected")
})
}
```