Design comparison
Solution retrospective
I am happy that I tried Figma design files for the very first time.
What challenges did you encounter, and how did you overcome them?Translating Figma design file into CSS rules was challenging for me. I did it by selecting part of the design in Figma and reading values from the properties panel. There must be a better way.
What specific areas of your project would you like help with?Shall I rewrite CSS rules in a BEM notation?
Community feedback
- @StroudyPosted about 2 months ago
Hello again, Exceptional work! You’re showing great skill here. I’ve got a couple of minor suggestions that could make this stand out even more…
- These
<div>
should really have semantic tags like headings (<h1> to <h6>
) and paragraphs (<p>
) convey structure and meaning to content, improving accessibility, SEO, and readability by helping search engines and screen readers interpret the content.
<div class="category">Learning</div> <div class="published">Published 21 Dec 2023</div>
-
Using
font-display: swap
in your@font-face
rule improves performance by showing fallback text until the custom font loads, preventing a blank screen (flash of invisible text). The downside is a brief flash when the font switches, but it’s usually better than waiting for text to appear. -
Your width here should be
max-width
and inrem
also,
width: 384px;
- Using
rem
orem
units in@media
queries is better thanpx
because they are relative units that adapt to user settings, like their preferred font size. This makes your design more responsive and accessible, ensuring it looks good on different devices and respects user preferences.
@media screen and (max-width: 450px)
You’re doing so well, and I hope this feedback is helpful! Keep honing your skills and remember to enjoy the process—you’re on a great path. Stay motivated, and happy coding! 🎯
1 - These
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