Design comparison
Solution retrospective
Trouble making it responsive. Not sure if I should how to go about making it best for mobile and web. On mobile the client section and the footer overlap. Some images have white space between them, not sure how. Open to all suggestions. In the end, it was a fun project to test my skills and level. Definitely not done learning
Community feedback
- @AbNassifPosted over 3 years ago
First of all, really love your attitude towards knowing you made mistakes. We all do, and they are essential in making us the best at what we do.
1- Love that you took the initiative in making the navbar fixed to the top as someone is scrolling. But I can't see the links once I've scrolled, so consider adding a darker background once a scroll is initiated. (Google ways you can do that, but I think you most probably need javascript for that)
2-The nav bar isn't responsive because you added padding of 45rem to the right for the li.left-nav. That is a big no-no in the css standards, as it won't scale well on any other device other than one's similar to your screen.
To fixed that, remove the logo from the ul all together and add it to a separate div.tag (It should be the ul's sibling instead of it's child). Then a super easy way would be to add another div tag in between the logo and links and give it a margin of auto. That way it'll take up the whole space of the nav bar and align them perfectly across all screens.
(There are plenty of other ways, but this is the easiest of them all)
3-Always and always fix the responsivity of the section before creating another one, I did that once and it ended really badly for the project I was working on. Learn media queries and read about responsive units(Vh,VW,%) and how you can use them to reduce the code required for mobile responsiveness.
4- To fix the orange missing as the viewport changes, just change the "background-position" property to "bottom" in media query.
5- You forgot to add the milk image above the footer. Just add a display of flex, then give all of them a specified width to fit the viewport, and add flex-wrap to break the down vertically as the viewport get's smaller. You could then use media queries to increase their width as each image get less competition for the row it's in.
Honestly couldn't figure out the reason behind the whitespace between the images in the center, and why they're taking 150% of the screen size(having to scroll horizontally), But It's so messy and it would be counterproductive to spend your time fixing it now. So just pat yourself on the back as this challenge isn't as easy as it seems, and remember to break everything down next time and make sure that each part is mobile responsive before moving on to building the next part.
Great job!
Marked as helpful1@rhollingsPosted over 3 years ago@AbNassif thank you so very much for your feedback. It is really helpful and I appreciated that so much. I hate to admit the project was a little confusing putting everything together. But I will give it another try now that you have helped me understand some of the important parts. I will try and update the page within the following days. Thank you again for your help.
1 - Account deleted
The picture with the orange is missing on desktop, it like literally disappears.
2@rhollingsPosted over 3 years ago@thulanigamtee sorry, I think it should be there now
0
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