Responsive landing page using CSS Grid and Flexbox
Design comparison
Solution retrospective
I ran into two bugs in Chrome which I couldn't find a solution for:
The font-sizes don't reflect the actual value. Also, the SVGs for the social media icons sometimes don't show up.
Both of these work on localhost Chrome and Chrome mobile as expected, but works arbitrarily on live site desktop Chrome. (It works on Safari and Microsoft Edge)
I'd appreciate any feedback regarding these.
Community feedback
- @afaiz-spacePosted over 2 years ago
Hey @sedcakmak,
- Replace
height:100vh
withmin-height:100vh;
of the body element. - add
padding:10px;
andgap:20px
in the .testimonials class. also, remove the margin (left and right ) from the .testimonials class of media query. - Remove
width: 84%;
from the .testimonials-item class of media query. - Remove position, top, left, and transform from .attribution class. also, add margin: 10px;
and
text-align: center;`in the .attribution class.
Marked as helpful0@sedcakmakPosted over 2 years agoHey @afaiz-space,
Thank you for your feedback. Giving min-height:100vh to body element solves many issues, but unfortunately breaks down the header and the arrow both on mobile and desktop. I tried to fix that by changing the padding and background-size, background-position, but didn't work:( You can see desktop and mobile images here. I may need to add another div to solve that problem.
But thank you for the advices on .attribution class.
0 - Replace
- @mubizzyPosted over 2 years ago
Excellent job on this challenge! your report has a few issues though:
- wrap everything in your body in
<main>
or use semantics
2. it is a best practice to use both HTML 5 and ARIA landmarks to ensure all content is contained within a navigational region.
Hope it helps:)...don't forget to mark it as helpful 👍
You can get more details here...click here
0 - wrap everything in your body in
Please log in to post a comment
Log in with GitHubJoin 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