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

Responsive summary component with no flex/grid

Lamar 495

@Everezze

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 found weird bug when opening the dev tools and increasing It's height make the blue part smaller and squished I tried to figure out precisely what's influencing it but didn't find anything. If anyone have an idea I'll gladly take it!

Community feedback

Ashong 930

@AshongAbdallah06

Posted

Hey. While I do not really have any comments on your query, I do have one of my own. I looked over your code, and it worked out beautifully. I have been able to create the desktop design up to this point, but I have no idea how to tackle the mobile design. I chose to ask here because I did not know where else to direct my question. Perhaps you could make a helpful contact. Thanks

0

Lamar 495

@Everezze

Posted

Hi, so most of the time If you want responsiveness you will have to not set fixed values(100px set on an element will not grow as It's parent width grow for example) but instead set relative values(10% or 50% of the parent width will make the element adapt to the parent as It's width grows or shrinks) that's the first step in achieving a responsive layout.

What most people recommend is also mobile-first development where you start to code for mobile and then make readjustments in your code for the desktop version, lots of people found it easier to do it this way but the other way around is fine too. So try to check for fixed,hard values in your code and try to make them grow relatively to another element(most of the time the parent but depends on the design), hope this was helpful and If you're still stuck don't hesitate to check youtube to see how others achieve this from start to finish.

0
Ashong 930

@AshongAbdallah06

Posted

@Everezze Thanks again for your help with the code—it really meant a lot! Am not too familiar with some things you said if I encounter more issues or need further guidance, would it be okay to reach out to you for some assistance? Via any social?

0
Lamar 495

@Everezze

Posted

@AshongAbdallah06 You Welcome, If you want help you can go to the discord of the community you will find more people that can help you and give you advices.

1
Ashong 930

@AshongAbdallah06

Posted

@Everezze Hey! It's me again. I took your advice, What most people recommend is also mobile-first development, where you start to code for mobile and then make readjustments in your code for the desktop version, and I was able to complete the challenge. Thanks again.

1

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