Design comparison
Solution retrospective
I'm most proud of the reproduction in general as it's pretty accurate
What challenges did you encounter, and how did you overcome them?My biggest challenge was making the layout responsive for screens where font size might have been reduced to the point of being unreadable (e.g. mobiles). I knew I needed at least a media query but it still took me a while. Eventually, I discovered that in order to change my font size visibly, the container's (article
's) size must not be based on it (using em
and rem
).
Also the commented bit near the end shows my first attempt at making the image ignore the padding and take up the whole container's padding box's width but it resulted in some strange results. Negative margins worked well as an alternative.
I had to do some unusual styling for the lists and implement one list as a dl
for semantic purposes. The whole thing breaks at some smaller viewport widths but I kind of gave up on that.
Any advice on how to improve would be greatly appreciated, especially on responsiveness and the things I struggled with above, but also on how I can do the same things easier.
Community feedback
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