Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 2 years ago

result summary component with javascript part.

sass/scss
Johan•200
@CallensJ
A solution to the Results summary component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hello, ok here's my solution to this challenge. it all went well for the most part but i've been a bit stuck with a border-radius problem on mobile. the only solution i came up was to create another media query just for them but i'm sure there must be an easier solution to do it.

Also for the javascript part i put all my code inside one function. at first i wanted to use one for fetching and another one to display but couldn't do it. i was trying something like . function fetchData(){ //fetch code } fetchData().then =>{//display code}. but it didn't work. i need to practice more.

thanks for the feedback you guys could give.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Johan's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License