Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Report card landing page using only CSS

Akashraj47•10
@Akashraj47
A solution to the Results summary component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I am facing difficulty in understanding the Break-Points for Responsiveness.

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • gfunk77•1,270
    @gfunk77
    Posted over 1 year ago

    Nice work on your solution. It looks fantastic. I'll try to give a very, very basic suggestion on breakpoints that hopefully moves your understand up at least a tiny bit.

    After you design your site and it looks good either on desktop or mobile, use your dev tools to shrink or expand your screen. Keep an eye on the width. The moment your design doesn't look good anymore (it breaks), that is your breakpoint. Write a media query with the breaking width. In this case, say my design looks good on mobile and when I expand it falls apart at 600px, I would do: @media (min-width: 600px) { ...styles } This means that the styles I apply inside the media query will take effect only when the screen width is 600px or larger.

    I'd recommend creating something super simple like a div with a few <p> tags. Then play around with the screen sizes and media queries to see how you can change it based on the screen size. That way you'll be focusing on the media query and not all the details of a larger design.

    I hope this helps a little.

    Marked as helpful

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
Frontend Mentor logo

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub