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

Responsive landing page of a news articles website

@kanyijr

Desktop design screenshot for the News homepage coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


feedback?

Community feedback

@petritnuredini

Posted

Fantastic work on completing the news website homepage challenge! 🌟 It's an impressive achievement to bring a design concept to life, particularly one that requires a responsive and interactive layout. Here are some best practices and suggestions to further enhance your project:

  • HTML Best Practices:

    1. Use of Semantic HTML: Great job using semantic elements like <header>. For further improvement, consider using <main> for the primary content and <section> or <article> for individual news items to enhance the semantic structure.
    2. Alt Attributes in Images: Ensure all your images have descriptive alt attributes for accessibility.
    3. Load JavaScript at the End: It's generally a good practice to load JavaScript files right before the closing </body> tag to ensure faster loading of the HTML and CSS content.
  • CSS Best Practices:

    1. Responsive Design: Your use of media queries shows a good understanding of responsive design. Continue to test on various devices to ensure consistency.
    2. CSS Organization: Organize your CSS rulesets logically, either by sectioning (header, main content, footer, etc.) or functionality (layout, typography, colors, etc.).
    3. Use of CSS Variables: Consider using CSS variables for colors, fonts, and other reusable properties to make future changes more manageable.
  • JavaScript Best Practices:

    1. Use const and let: Prefer const and let over var for variable declarations for better scope management.
    2. Functionality and Accessibility: Ensure that your JavaScript enhances the functionality without compromising accessibility, such as keyboard navigability for menus.
  • General Suggestions:

    1. SEO and Accessibility: Adding <meta> tags for description and keywords can improve SEO. Also, ensure your website is accessible by following WCAG guidelines.
    2. Performance Optimization: Compress images and minify CSS and JavaScript files to improve load times.
    3. Cross-Browser Testing: Test your site across different browsers to ensure compatibility and consistent user experience.

Your dedication and hard work are evident in this project. Keep pushing your boundaries and taking on new challenges. Every project is a learning opportunity and a step closer to mastering your craft. Keep it up! 💪

Marked as helpful

0

@kanyijr

Posted

@petritnuredini Thankyou for the feedback, any suggestion on where i can learn suitable conventions for responsive layouts?

0

@petritnuredini

Posted

@kanyijr It's great to hear that you're interested in expanding your knowledge of responsive layouts! Here are a few resources that offer comprehensive insights and best practices:

  • MDN Web Docs on Responsive Design: A trusted resource for developers, MDN offers detailed guidance on responsive web design principles. Explore their tutorials and guides here.

  • CSS Tricks Guide to Responsive Design: CSS Tricks is well-known for its practical tips and tricks. Their guide to responsive design is a must-read. Check it out here.

  • A List Apart: This site has a collection of insightful articles on responsive design. You can find them here.

  • FreeCodeCamp: They offer an interactive learning platform with exercises and projects focusing on responsive design. You can start learning here.

  • Responsive Web Design Fundamentals on Udacity: This free course covers the basics and beyond, helping you understand how to create websites that work on any device. Enroll here.

These resources are excellent for both beginners and experienced developers looking to sharpen their skills. Happy learning!

Marked as helpful

0

@kanyijr

Posted

@petritnuredini thankyou sir, looking forward to perhaps a collaboration with you.

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