@florent6001
Posted
Hi,
Actually, we doesn't know that we selected a number, there is not color when the link is selected. You can do that by adding a class on the number when we click on it, and if we click on another one, you just have to remove the class.
You can check here the solution i got if you want : https://www.frontendmentor.io/solutions/interactive-rating-component-tailwindcssvanilla-js-S55Z9gTlyW
Marked as helpful
@GiftCode27
Posted
@florent6001 Thanks alot, I'd check it out.