Design comparison
Community feedback
- @petritnurediniPosted 9 months ago
Congratulations on completing the Stats Preview Card Component project! 🌟 Your work demonstrates a solid grasp of HTML and CSS, and it's great to see you implementing responsive design techniques. Here are some suggestions to further refine your project:
HTML Best Practices:
- Semantic HTML: Excellent use of semantic elements! To enhance it further, consider using
<section>
tags for the different parts of your card. - Alt Attributes: Good job including alt attributes for images. Ensure they are descriptive, like
alt="Header Image"
for the header image. - Meta Tags: Great use of viewport meta tag for responsiveness. You might also want to include meta tags for description and keywords for SEO purposes.
CSS Best Practices:
- Responsive Design: Your media queries show a good understanding of responsive principles. To further enhance, test on a variety of devices for consistency.
- CSS Variables: You’ve effectively used CSS variables, which is excellent for maintainability.
- Selector Naming: Ensure that class names are descriptive and consistent. For example,
.part-one
and.part-two
could be more descriptive.
General Suggestions:
- Performance Optimization: Optimize your images and assets for faster loading times. Tools like TinyPNG can compress images without losing quality.
- Accessibility: Consider checking color contrasts to ensure accessibility. Tools like WebAIM can be handy.
- Code Formatting: Consistent indentation and spacing in your code enhance readability. Tools like Prettier can help format your code automatically.
Keep up the great work! Each project you complete brings you one step closer to mastering web development. Continue exploring new challenges and refining your skills.
For more learning, here are some helpful resources:
- MDN Web Docs for comprehensive guides and documentation on HTML and CSS.
- W3Schools for practical examples and tutorials.
- CSS Tricks for advanced CSS tips and tricks.
Marked as helpful1@xStephxPosted 9 months ago@petritnuredini thanks for advice! I followed all advices and will apply them in future projects. If you have any other suggestions feel free to text me!
1 - Semantic HTML: Excellent use of semantic elements! To enhance it further, consider using
- @NrotsaPosted 10 months ago
Hello. You made a small mistake, as did I when creating this project, and one of the users helped me fix it. The background color on the image is slightly different because you just reduced the opacity of the background color. To fix this, you can blend the background color into the image color using the background-blend-mode: multiply. This helped me in my project. I hope it will help you as well.
Marked as helpful1@xStephxPosted 10 months agoHello @Astornek,
Thanks for helpful feedback. I will fix this mistake. If you have other suggestions for something feel free to text me.
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