See how when you hover over the boxes, they turn blue; as well as the rounded rectangle with the number in it. Then, if you click “Google”, a menu drops down and the box on top stays blue, but the rounded rectangle with the number inside does not.
I think you’re going about it wrong. Instead of changing `.val-google` to `.active-google` you could just focus on the parent class/hover state. Change all of the values to just have a common class like ‘.value’, then you you can change the style of it based on its parent: