Design comparison
SolutionDesign
Solution retrospective
Hello guys.
I will be glad, if you can give me advice how to improve my code.
Alex
Community feedback
- @iprinceroyyPosted over 2 years ago
Great work @Alex6pc, I would suggest some points here :
- Use kabeb-case for the class name.
- Wrap the contents inside the main tag
<body> <main>Your contents..</main> </body
- Always use the relative unit rem.
- You can use CSS latest functions min(), max(), and clamp() for responsive fonts, margin, padding, and width.
- There should be the level one heading tag h1 if there's no requirement then set the font size to 0 to avoid accessibility issues.
I hope it adds to your learning, happy coding :)
Marked as helpful1@Alex6pcPosted over 2 years ago@iprinceroyy Hello Prince, thank you for your help.
What exacly do you mean with the "You can use CSS latest functions min(), max(), and clamp() for responsive fonts, margin, padding, and width"?
where can i find more info for these?
Alex
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