Design comparison
SolutionDesign
Solution retrospective
Any Feedback?
Community feedback
- @petritnurediniPosted 10 months ago
Bravo on completing the stats preview card component challenge! 🎉 This project showcases your skills in creating responsive designs and your understanding of HTML and CSS. Here are some best practices and suggestions to elevate your project even further:
-
HTML Best Practices:
- Semantic HTML: Good use of semantic elements like
<main>
,<article>
, and<figure>
. This enhances the readability and accessibility of your code. - Alt Text for Images: Nicely done including alt text for the image. It's crucial for accessibility and SEO.
- Code Structure: Your HTML is well-structured and easy to read. Keep maintaining this clarity as it's vital for larger projects.
- Semantic HTML: Good use of semantic elements like
-
CSS Best Practices:
- Use of CSS Variables: Excellent use of CSS variables for maintaining consistency in colors and fonts. This is a great practice for easier theme management.
- Responsive Design: Your media query for larger screens is well-implemented. Continuously test on various devices to ensure the layout adapts smoothly.
- CSS Formatting: Your CSS is neatly formatted. Consider grouping related properties (like font styles, layout properties) together for better readability.
-
Design & Accessibility:
- Contrast and Colors: Ensure that the text colors contrast well with the background for readability. Tools like WebAIM's Contrast Checker can be useful.
- Focus on Accessibility: Consider adding keyboard navigability and focus indicators for interactive elements if any.
-
General Suggestions:
- Optimization: Optimize image sizes for faster loading, especially for mobile devices.
- Testing Across Browsers: Test your layout across different web browsers to catch any cross-browser compatibility issues.
- HTML Validation: Use a tool like the W3C Validator to ensure your HTML is free of errors.
Your dedication to this project is commendable. Remember, each project is a step towards mastering your craft. Keep exploring, learning, and building. You're doing great! 💪
Marked as helpful1 -
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