Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

FPS Games Test Results - Summary Page

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

Solution retrospective


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

I choose to start desktop layout (desktop first)

1 - Set a section to each side (Results and Summary)

a - Results HTML code was very simple, using h2 and p, to do a complete circle div to container rate data i use percentage in border-radius: 50%;

b - Summary To category i use a "ul" and four "li", flex-direction: column; in the main section to put all content beneath the other, image icon in each category i insert using :before in css

c - General

2 - Center all using display: flex (justify-content e align-items) in main 3 - Adjust responsive in 740px, 490px resolutions 4 - Clean code, removing unnecessary code, and aggrouping css properties

What challenges did you encounter, and how did you overcome them?

Background isn`t had the total height when less than 740px (mobile), min-height: 100vh; not work, i fixed using "percentage" instead "vh", but don't guess it is the best method to solve this

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

Background isn`t had the total height when less than 740px (mobile), min-height: 100vh; not work, i fixed using "percentage" instead "vh", but don't guess it is the best method to solve this, and tried use a "variable.css" to create variable colors, but not work, i tried recreate the variable file, change the path, but no effect

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 benssssss'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
  • Use cases

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