3-column preview card component using HTML and CSS
Design comparison
Solution retrospective
This design has been simple for me. Practicing with Frontend Mentor has helped me become faster. But if anyone has any comments or suggestions it is welcome.
Community feedback
- @Islandstone89Posted about 1 year ago
Hi. Here are some suggestions.
HTML:
-
The icons are decorative, so should have empty alt text.
-
There should only be one h1 on a page. Replace them with h2s.
-
"Learn More" should be a link.
CSS:
- Use margin-top: auto on the links to align them horizontally
- You are setting the border on the links twice; it should be either or.
Marked as helpful0@roraima1986Posted about 1 year ago@Islandstone89 Thank you very much for your suggestions, I didn't realize I wrote the border twice. 😅
1 -
- @petritnurediniPosted 10 months ago
Congratulations on completing your project! Here are some quick recommendations to enhance your code:
- Accessibility: Ensure all images have appropriate alt text for screen readers by providing descriptive information about the image content.
- CSS Variables: Consider using CSS variables more extensively for colors, fonts, and other reusable styles to maintain consistency and ease of updates.
- Semantic HTML: Use semantic HTML elements like
<section>
,<article>
, or<aside>
where appropriate to improve the structure and accessibility of your code. - Responsive Design: Test your design thoroughly on various devices to ensure it looks and functions well across different screen sizes.
Keep up the fantastic work! Continuous learning and improvement are key to becoming an even better developer.
For further learning, check out these resources:
0
Please log in to post a comment
Log in with GitHubJoin 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