Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Your session has expired please log in again.
Your session has expired please log in again.
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Blog Preview Card

KSHITIZ RAIā€¢ 50

@Kshitiz42069

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


This assignment helps me to learn more about the position in CSS and flex box. I did find a little difficult positioning the sections in a good frame.

Feedbacks are welcome.

Community feedback

Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

Hello @Kshitiz42069!

Your solution looks great!

I have a suggestion for improvement:

  • Use <main> to wrap the main content instead of <div>.

šŸ“Œ Tags like <div> and <span> are typical examples of non-semantic HTML elements. They serve only as content holders but give no indication as to what type of content they contain or what role that content plays on the page.

This tag change does not impact your project visually and makes your HTML code more semantic, improving SEO optimization as well as the accessibility of your project.

I hope it helps!

Other than that, great job!

Marked as helpful

1
Petrit Nurediniā€¢ 2,860

@petritnuredini

Posted

Congratulations on completing your Blog Preview Card project, Greg! šŸŽ‰ Your efforts in crafting an engaging and visually appealing design are commendable. Here are some recommendations to further enhance your project:

  • HTML Structure and Semantics:

    • Great job using semantic HTML elements. It's good practice to ensure that each image has an alt attribute. For decorative images, you can use an empty alt attribute (alt="") to improve accessibility.
  • CSS Styling and Consistency:

    • Your CSS is well-organized. Consider using CSS variables for colors and font sizes to make future changes easier and your code more maintainable.
    • Avoid inline styles if possible, as they can override your CSS file and make debugging more difficult.
  • Responsive Design:

    • Ensure that your design is responsive on different devices. You might want to add media queries to adjust the layout for mobile and tablet screens.
  • Performance and Accessibility:

    • Optimize your images for faster loading times. Tools like TinyPNG can help reduce file sizes without losing quality.
    • Increase the contrast between text and background colors to improve readability, especially for users with visual impairments.
  • Code Efficiency:

    • Use classes efficiently to avoid repetition. For example, if multiple elements share the same styling, consider grouping them under one class.
    • Minimize the use of div elements and explore more semantic elements like article, section, and aside for better structure and readability.

References for Further Learning:

  • Web Accessibility Guidelines: W3C
  • CSS Tricks for Layouts and Design: CSS-Tricks
  • Responsive Web Design Principles: MDN Web Docs

Keep up the great work, Greg! Your journey in web development is progressing beautifully, and I'm excited to see your future projects. Keep exploring and learning! šŸ’»āœØ

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