Design comparison
Solution retrospective
The two things I am most proud of are:
- I finished this faster than it would usually take me. Practice and repetition are key.
- I feel like this is one of my first solutions that is almost 99% identical to what the design file shows.
If I could do anything differently next time... I set most of the colors, font sizes, and styles after I was done getting the layouts and images correct and I would probably do this reverse in my next project.
What challenges did you encounter, and how did you overcome them?My two biggest challenges were:
-
Centering the blog card horizontally and vertically (surprise, surprise). I pulled up a blog post by Josh Comeau that wrote about how to center divs with different methods (using margin, flexbox, or CSS grid) and used the method that made the most sense to me.
-
Getting that yellow box around the category "Learning". I used Google to find some solutions and landed upon one that worked for the blog card.
Specific areas I would like help with:
- Is my HTML structured properly and semantic? If not, how can I improve it?
- What improvements can I make on how I name my classes?
- Any improvements I can make to the CSS so that the attribution isn't so low on the page?
All advice and feeback is welcomed. Thanks in advance.
Join 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