Design comparison
Solution retrospective
I am proud of myself that I managed to finish this challenge. This was my first time working with responsiveness across 3 different viewports and even though I managed to make it look decent I still have ways to go, my breakpoints just aren't perfect enough. It's either cuz I used absolute width declaration or I'm not totally sure. When I hit the breakpoints and stay there it looks good but adjusting the viewport makes some of my elements break.
What challenges did you encounter, and how did you overcome them?The main challenge I encountered was with showing and hiding header and footer pictures based on the viewport. I did manage to make it work with time, but I would love to know if there's a better way to do this without using JS. Also making the design look good across all 3 different viewports proved a challenge which I didn't anticipate at all.
What specific areas of your project would you like help with?I still struggle with accessibility, and I can already imagine people that look at my CSS scratching their heads trying to figure out what does what. I need to work on structuring my code a lot more. I would love if someone could point me in a good direction on how to structure my CSS, and probably my HTML too(accessibility wise).
Community feedback
- @kodan96Posted 6 months ago
hi there! 👋
-
When you structure your css code just look for repetitiveness in the page's layout.
-
apply basic typography to your tag selectors, so there's no need to re-write all of these everytime you encounter a new
<p>
element for example. -
after applying these you can use attribute classes if necessary to give these their unique values after setting up a base for them.
-
also you can look up BEM notation, it's a popular naming convention in web dev.
Hope this helps 🙏
Good luck and happy coding! 💪
Marked as helpful1 -
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