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

Basic HTML & CSS - DJ Khaled, another one!

Renita M•50
@renitam
A solution to the Product preview card component 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 most proud of how fast I completed this component. I finished it in a day. It was good practice. Sometimes, I wonder if the way I'm setting up the css is kind of bad practice? Because I have it verbatim following the design system and it's not following BEM format or anything. Like could I be more efficient with the design?

But I did mobile-first in this card component and it was really easy to put together. I had fun!

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

I'm horrendous at linking URLs for fonts and typically just download the font file because I can't be bothered. They never seem to load well, otherwise. Is this good practice?

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

Should I have used SASS or something like that? I feel like it's simple, but most of the projects in this responsive web building course seems to be repetitive and I feel like I might be missing something to simplify my code and CSS. Any pointers are very welcome.

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 Renita M'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