Design comparison
Solution retrospective
Hello, I started this challenge very well and was thinking that would be done quickly but as usual i made wrong choice and had to redo it. Then I faced few problem to layout everything. For the first time i use the mobile first design (not easy even if im sure it is the best way). Then I had problem with the layout of the first picture. Finally i manage to put everything in place. I will be very grateful for your feedback especially concerning my CSS code. Is is stodgy but i spent so much time to finish my challenge that i'm afraid to break everything by re-arranging it;-) Enjoy coding !
Community feedback
- @palgrammingPosted over 3 years ago
code start over, code star over, learn, start over learn.... That is the normal that is called progress. The more I try to rebuild things the more I learn and hope it works like that for you.
Your results look very good the only thing you might want to try is to transition your footer elements to the desktop layout sooner once the view-port become wide enough to accept the elements in the row vs column layout
1@cjeanneauPosted over 3 years ago@palgramming I know that coding is coding over and over, and I love learning and challenging myself. I just need to improve my method because I still hesitate in the order to proceed (adjusting font size, line height, padding, merging, etc.) I will take a look to transition my footer earlier. Thx for your feedback I really appreciate.
0 - @juani2Posted over 3 years ago
Hello cjeanneau,
Wow! almost pixel perfect! You might wanna try to adjust the sizing of your background at the header too to match the original design. In my case I used a
contain
background size and positioned the image on top. (see below snippet):body { background-image: url("/images/bg-header-mobile.png"); background-repeat: no-repeat; background-position: top; background-size: contain; }
I can relate to you, at first I thought this challenge will be easy but I was proven wrong when I observed some minor details that needs to be addressed like the changing font sizes, line-heights, letter-spacings, and margins at different view-ports. It took me 5 attempts before I was able to finish the challenge.
About your css code, all I can recommend is to place comments on your code explaining what the block or line of code will do in your page.
But overall, great work! It was near pixel perfect!
0@cjeanneauPosted over 3 years agoHello @juani2,
Thanks you first for having spending time to analyse my solution. I very appreciate. In fact i lose a lot of time to position perfectly each component and text and I should probably spend less time to it and concentrate on other things. I will try to code a better CSS on my next challenge and consider your suggestions.
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