3 column preview card component using Flexbox, Mobile first CSS
Design comparison
Solution retrospective
Hello Everyone 👋
I've completed another challenge this time using flexbox.
I want to ask question:
- I use
article
tag for this challenge is that the correct semantic HTML? I confused which one should I usearticle
tag orsection
tag? - For the icon should I set
alt
text?
Anyway, feel free to give me any suggestions or feedback
Thank you!
Community feedback
- @Enmanuel-Otero-MontanoPosted over 2 years ago
Hello Bagas! The use of the article tag in this challenge is correct, the result would have been the same with the section tag, but in this case the article is better, personally I did it with article just like you, but I have seen many solutions for this challenge that they use div, which seems to me to be not entirely correct since whenever we can we should use tags with semantic meaning.
0@bagas-defandiPosted over 2 years ago@Enmanuel-Otero-Montano
Thank you for answering.😊
I also think we should use semantic tag when possible.
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