@remyboire
Posted
Hi Nicolas,
great job finishing this challenge! About the hover effect, you can handle it simply in CSS.
— pass the value you want to display for each bar with a data-value
— display the value with a pseudo-element like :before
and content:attr(data-value)
— show the pseudo-element with CSS when his parent is hovered with something like .parent:hover:before { opacity : 1 }
Hope this helps, do not hesitate to ask if it's unclear. Rémy
Marked as helpful
@NicoAguirre1105
Posted
@remyboire Thank you!