Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Results summary component

Zio 160

@ZioSenkai

Desktop design screenshot for the Results summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I can't fix the linear-gradient circle D:

Community feedback

Daniel 🛸 44,230

@danielmrz-dev

Posted

Hello @ZioSenkai!

You did a very good job there!

I have a very simple suggestion for improvement:

  • Since the button is a clickable element, it's nice to add cursor: pointer to it and a color shift as hover effect. This gives the user a visual indication that the element is clickable.

I hope it helps!

Other than that, you did a great job!

Marked as helpful

1

Zio 160

@ZioSenkai

Posted

@danielmrz-dev thank you for your suggestion :D I'll apply it next time

1

@Mitko90

Posted

Hi, nice solution

It looks great.

To your issue:

The background of the circle needs to be a colour to transparent gradient. I looked at your code and you have

.result-container{
  background: linear-gradient(var(--clr-primary-500), var(--clr-secondary-hsl-500));
}

You need to switch your var(--clr-secondary-hsl-500) with a transparent colour, in your case that's var(--persian-blue) So your gradient should look like this:

.result-container{
  background: linear-gradient(var(--clr-primary-500), var(--persian-blue));
}

Honestly any colour with 0% opacity will work, I just looked at your custom properties and found this one. This should fix it.

Hope I was helpful

Marked as helpful

1

Zio 160

@ZioSenkai

Posted

@Mitko90 thanks a lot, I find it actually fixed my problems :o Im gonna note it rightaway :D thank you again

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord