Hello, my name is Lucaci Daniel and I'm from Romania. I have a bachelor degree in Computer Science and I'm currently doing an internship on frontend web development at an IT company. If you want to get it in touch with me, please do not hesitate to contact me. :)
I’m currently learning...Angular, MERN and Docker
Latest solutions
Latest comments
- @LBuchananCates@DanielLucaci
Hey @LBuchananCates, how are you ?
I like your app very much, but it seems that the path to the icon-star is incorrect. Instead of <img src="./images/icon-star.svg" alt="star" /> it should have been <img src="./icon-star.svg" alt="star" />
Hope my feeedback helped you.
- @Tumelo4@DanielLucaci
Adding !important after background color seems to work, i.e.: .rate:hover { background-color: var(--clr-Orange) !important; }
The hover effect didn't work anymore, because the script adds an inline styling for every button when reacting to the 'click' event. This forces the background color to be the same even when hovering over the button. Adding '!important' forces it to be 'orange', so it overwrites the color defined with the inline styling. I hope this makes sense to you.
Marked as helpful