Design comparison
Community feedback
- @hadeedjiPosted 5 months ago
Good job.
You can define all your typographic styles in tailwind config, that can include line height, font weight, font size and font family. You don't need to set font family in css file, you can set default font family in tailwind config.
I don't like how you've handled card width, you don't need to do anything complicated for this challenge. A simple
w-full max-w-sm
should be enough on your cardMarked as helpful1@dcdm3gPosted 5 months ago@hadeedji Thank you very much for the tips! I completely forgot that I can customize the default font via tailwind config and you are right about the width, your approach is much simpler.
I'm working on another challenge at the moment, but I'll apply these changes tomorrow.
0
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