Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Chat App illustration, using flex

Raza Abbas 790

@RazaAbbas62

Desktop design screenshot for the Chat app CSS illustration coding challenge

This is a solution for...

  • HTML
  • CSS
3intermediate
View challenge

Design comparison


SolutionDesign

Community feedback

@petritnuredini

Posted

Congratulations on completing the Chat App Illustration project! It's an impressive feat, and you've done a great job. However, I have a few suggestions to enhance your code and make it even better:

  1. Optimize Image Accessibility and SEO:

    • For all your img tags, it's essential to have descriptive alt attributes. This not only improves SEO but also makes your site more accessible to users who rely on screen readers. For example, instead of alt="", use alt="User's avatar" or alt="Dog image". Learn more about image accessibility here.
  2. Avoid Inline Styling for Images:

    • Instead of using inline styles for setting image dimensions like style={{width:"370px", height: "200px" }}, consider using CSS classes. This approach is cleaner and separates your styling from your HTML structure. Check out best practices for CSS here.
  3. Refactor CSS for Responsive Design:

    • While your use of media queries is good, you can further improve the CSS by adopting a mobile-first approach. This means designing your CSS for smaller screens first and then using media queries to adjust for larger screens. This approach is often more efficient and easier to manage. Here's a guide on mobile-first and responsive design: Responsive Web Design - The Basics.

Keep up the excellent work! Remember that every project is a learning opportunity. The more you code, the more you learn and improve. I can't wait to see what you'll create next on your coding journey! 💻🚀

Marked as helpful

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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