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

ResultSummaryComponent

@DiegoLeonardoSoto

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 had a little problem with the icons in deploy but i don't know how to fix it. Feedbacks are welcomed.

Community feedback

Account Deleted

Hello !

yeah that is look a little bit annoying for the first time because react does not allow direct path image loading.

you can import the images one by one above your component and put them in array and loop throw them but to be honest that looks so funky.

try to put in img src attribute this require(category.icon).default

And don't forget to modify the icon key in data.json file make it like you importing it to your category component, waiting for your reply !

0

@DiegoLeonardoSoto

Posted

I could to fix it, I just had to move the assets folder to the public folder haha

1

Account Deleted

@DiegoLeonardoSoto

Yeah thats the third way actually !

Just learnt about it LOL

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