Design comparison
Solution retrospective
i had to spend a lot of time finding a solution to not using media queries, is there a way to responsive website without using media queries...please i stand to be corrected to give becoming a better designer
Community feedback
- @FixitoPosted 8 months ago
Good job, @R-clout.
A few things to take note of:
-
Font Importation: Import your custom fonts stored locally using
@font-face
. Define each font style and weight by pointing to the font files in your project directory, ensuring web compatibility and performance. This is crucial for using "Figtree" across your web project. -
CSS Variables: You're using CSS variables for colors effectively. Consider using variables for frequently used values like font sizes, margins, and border radii for better consistency and maintainability.
-
Media Query Consolidation: Group similar media queries to reduce redundancy and improve readability.
-
Typo Correction: Correct the typo in
@media (min-wdith: 425px)
to@media (min-width: 425px)
. -
Unit Consistency: Aim for consistency in units (e.g., rem, %) for margins, font sizes, etc., to enhance readability and scalability.
-
Hover Effects Redundancy: If
h1:hover
effects are unchanged across breakpoints, no need to repeat them in each media query. -
Box Shadow Performance: Specify all box-shadow values, including color, to ensure performance and desired appearance.
-
Accessibility: Ensure color contrasts meet WCAG guidelines for accessibility.
This concise approach keeps the main suggestions while focusing on critical improvements for your CSS.
Marked as helpful0@R-cloutPosted 8 months agothank you for taking your time, i really appreciate that and id work on everything, hoping to imprve in my next challenge see you then.. thank you@Fixito
0@R-cloutPosted 8 months agoi just followed you, hopefully you can help me through this. thank you in anticipation@Fixito
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