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

Blog Preview Card with HTML and CSS

@alekseibodeev

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Neto 170

@deusdeteneto

Posted

Does the Solution Include Semantic HTML? The solution demonstrates a good use of semantic HTML, which is great for accessibility and SEO. Elements like <main>, <h1>, <p>, and <footer> were well utilized. However, to further improve semantics, you might consider using tags like <article> or <section> to better structure the content, especially if the card is part of a larger layout.

Accessibility and Possible Improvements Accessibility has been well addressed, but there’s always room for improvement. Here are a few suggestions:

Alt Text: The alt text for images should be more descriptive, such as "Cover image of the article" instead of "illustration-article." This enhances the experience for screen reader users. Color Contrast: Ensure that the color contrast between text and background is sufficient for visually impaired users. Tools like the WebAIM Contrast Checker can help with this. Keyboard Focus: Ensuring that all interactive elements are accessible via keyboard is crucial. Test site navigation using only the keyboard to verify the user experience. Layout Across Different Screen Sizes The layout seems to work well across various screen sizes, showing a good responsive approach. The centralization of content and the use of Bootstrap classes are good choices. However, be sure to test on very small and large devices to ensure the layout remains consistent.

Code Structure, Readability, and Reusability The code is well-structured and easy to follow, making it maintainable and reusable. Some suggestions:

Reusability: Avoid using inline styles. Move them to an external stylesheet to keep the code cleaner and more reusable. Class Organization: Grouping related classes in the CSS can improve readability. Also, consider using more descriptive class names to clarify the purpose of each element. Differences from the Original Design The solution seems to closely match the original design provided by Frontend Mentor. If there are any differences, it might be helpful to mention them and explain the design decisions made to help others understand your creative process.

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