@Jexinte
Posted
Hello @Vernacci,
Good job on this one.
When you need to just allow the selection of one button you can use the :focus property it's very useful especially in this challenge.
Then in js when you have checked which button have been selected you just call the property :focus with the class that you named it.
More details here : https://developer.mozilla.org/en-US/docs/Web/CSS/:focus
In hope it helps !
Marked as helpful