Mobile First Blog Preview Card Component using HTML and CSS

Solution retrospective
This is my first FEM challenge where I only used my little experience with HTML and CSS, and some help from ChatGPT. Please review and let me know if any improvements are required. Thank you.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @MelvinAguilar
Hello there 👋. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
-
The repository is set to private or it doesn't exist.
-
For a photo of a person, use their name as the alt text.
-
The
alt
attribute should not contain the words "image", "photo", or "picture", because the image tag already conveys that information.If you want to learn more about the
alt
attribute, you can read this article. 📘.
- While setting
height: 100%;
is a common practice and even comes by default in some CSS resets, on smaller screens like mobile devices, the content can often exceed 100% of the screen. Consider usingmin-height: 100vh;
instead for this type of components.
I hope you find it useful! 😄
Happy coding and Happy New Year! 🎉🎊🎁
Marked as helpful -
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