Design comparison
Solution retrospective
Hey!! Please review my code and do share your your feedback :)))
Community feedback
- @usanCodePosted over 2 years ago
@priyanshii677, Hello. How are you doing? I have viewed your webpage on mobile and I have to say it is nicely displayed. Just the background images are not there and even in your GitHub code , you do even not mention about them in the @media screens for mobile versions. Something else, the gap between the various sub-containers is too big, especially the one between the intro and the first rating. You can try solve this with paddings/margins. About the desktop version, the intro should be written above the two main blocks below in order for the webpage to look more like the model. Personally, I prefer make use of CSS grid containers. Maybe should l introduce them to you ? Here is an interesting link about that:
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Basic_Concepts_of_Grid_Layout.
Also try to fix the issues found in the report. For that ,you have just to read the links provided into that same report.
Good luck!!
0 - @tesla-ambassadorPosted over 2 years ago
Hey Priyanshi, congrats on completing this challenge. It's pretty solid! Here's a few pointers:
- You might wanna improve on the responsiveness of your site because the design breaks at certain screen widths (between 1000px and 382px). You should consider reducing the padding of some of your components like the testimonial grids and then when you reach the threshold for 3 grids at like around 700px, you could change the
flex-direction
to column. This will create much more room for more of your components and it will keep the responsiveness consistent and smooth! - A
div
orimg
orh4
is not allowed as a child element of aul
orol
, this is bound to generate some HTML validation issues. You need to use<li>
instead of animg
orh4
and you can enclose yourul
orol
within adiv
so here's what it should look like:
<div> <ul> <li> <img> </li> </ul> </div>
This will help resolve some of your HTML validation issues and accessibility issues.
- In order to resolve some of your accessibility issues, you might wanna use landmarks in your html code, these help browsers easily navigate your code. So you might consider wrapping your divs in landmarks like
<main>
or<header>
or<footer>
you need to do this according to how your page is structured. Incase you want to know more about landmarks, follow this link.
Happy coding and keep up the good work!
0 - You might wanna improve on the responsiveness of your site because the design breaks at certain screen widths (between 1000px and 382px). You should consider reducing the padding of some of your components like the testimonial grids and then when you reach the threshold for 3 grids at like around 700px, you could change the
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