Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 5 months ago

PIXEL PERFECT BLOG CARD

accessibility
Temidayo David•60
@TemidayoDavid
A solution to the Blog preview card challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I am really proud of the choice to use the clamp() function in making the design responsive. Chiefly because I could have used media queries but choosing to research and see how it could be done seamlessly was the highlight for this project.

I would certainly love to use var() function and min() functions to see if I could achieve the same results or even better.

What challenges did you encounter, and how did you overcome them?

Trying to use the right ARIA labels was a challenge I encountered. I didn't know which to use, if it was too much, unnecessary etc. However, with the help of research using AI, I was able to narrow down the accessibility elements and use proper semantic tags.

Also calculating the view port width in-between, the clamp() function was a hassle. I had to literally pull out a pen and learn how it was calculated. The viewport width is the number multiplied by the width of the current screen.

What specific areas of your project would you like help with?

Understanding how to sufficiently write cleaner CSS code and know a standard naming especially for font-weights, colour etc. I have seen many use things like

--clr-gray-400 or --clr-gray-50. Knowing which is which and the best practice for me would be where I need help.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Temidayo David's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License