Latest solutions
Latest comments
- @unl00kySubmitted about 2 years ago@Emmanuel-XsPosted about 2 years ago
Yes, I would recommend watching webdev simplified from youtube and you can also check out his courses they are amazing.
I would also like to point out something in your code. you forget about the
background-color
of thesummary-items
and try as much as possible to make all your styles in an external stylesheet if possible.Marked as helpful1 - @alexsanderBDSSubmitted about 2 years ago@Emmanuel-XsPosted about 2 years ago
Try This
.button { background-color: var(--clr-neutral-270); } .button:hover, .button:focus-visible { background: var(--gradient-primary); }
Replace my
custom properties
with yoursNOTE It is not possible to do transitions on
linear-gradient
.Marked as helpful1 - @Emmanuel-XsSubmitted about 2 years ago@Emmanuel-XsPosted about 2 years ago
Okay, let me try your solution out. I created the button
eventListener
inside the inputs to ensure the user clicks a rating before submitting without writing extra code. However, from what you said, it creates multiple click events for the button that may slow down the browser's overall speed. So, I will do as you say.Thank you very much I tried it and it worked. I really appreciated
0