A Blog review card using HTML and CSS

Solution retrospective
I learnt better about how to use classes to apply styles to different elements of the same type but in the same container i.e( multiple paragraph elements having different styles). probably next time rather than using divs I would experiment using a non-semantic in-line element (span) just to see the difference and which is more suitable.
What challenges did you encounter, and how did you overcome them?A challenge I faced but necessarily did not overcome is properly centering the main content, I ended up using a margin but I believe there would be better and more suitable methods to do this.
What specific areas of your project would you like help with?A more suitable way to centering elements, not just centering but positioning elements in the correct places I would need to for various projects, like I mentioned earlier most times I use margins, paddings, text-align and align items but I believe these are mostly makeshift solutions
Please log in to post a comment
Log in with GitHubCommunity feedback
- @rawrisotto
Hi there!
There is a browser extension called PerfectPixel which you can use to compare against the design image. It was recommended to me by a fellow Frontend Mentor user and has helped me so far. I hope this suggestion will be useful to you for your upcoming challenges or projects :)
Marked as helpful - @snakechickensoup
You can solve it by using flex or position when you want to center-align a component
Marked as helpful
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