@Aggressive-Mohammed
Posted
Hello casper pelsma!
Your HTML structure looks solid for a blog preview card. However, I noticed a few points that might improve your design:
- Semantic HTML: Wrap the h1 in a header tag, and the article content in an article tag. This will improve semantic structure.
- Heading Hierarchy: It's best practice to ensure a clear hierarchy between headings. Since you have an h2 before the h1 for "HTML & CSS foundations", consider reordering them or adjusting the levels.
- <span> around <h2>: Wrapping an h2 in a span is unnecessary, as headings are block-level elements by default. You can style h2 directly without needing the extra wrapper.
- Alt text: For the profile image, "Profile picture" could be improved to be more descriptive, such as "Greg Hooper's profile picture".
These updates can improve the accessibility and performance of your project. You did great. *** Keep it up!***