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 - Solution with HTML, CSS y JS

P

@JMBeltranDev

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


What are you most proud of, and what would you do differently next time?

One more step towards the goal.

What specific areas of your project would you like help with?

Any help is good.

Community feedback

@0xabdulkhaliq

Posted

Hello there 👋. Congratulations on successfully completing the challenge! 🎉

  • I have a suggestion regarding your code that I believe will be of great interest to you.

CSS 🎨:

  • Looks like the component button hover state background has not been properly set yet. We need to apply Gradient instead of Solid colors.
  • Just add the following css rules
.btn-summary:hover {
    background: linear-gradient(#6542FE, #342CE2);
}
  • Now your component's button background for hover state has been set properly
  • Additionally, I need to address the issue with import statement in JavaScript file. Currently it's not widely supported by Browsers. So you can use fetch with async/await methodologies to extract data from local path without any issues.

.

I hope you find this helpful 😄 Above all, the solution you submitted is great !

Happy coding!

Marked as helpful

0

P

@JMBeltranDev

Posted

I hadn't realized that the hover was a gradient. Modify the JS to call the json with fetch.

Thank you.

0

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