Submitted over 3 years ago
Profile Card Component using CSS grids, flexbox, and semantic HTML5
@Filippo-B
Design comparison
SolutionDesign
Solution retrospective
I've used the <article>
tag for the card. I was wondering if it would be correct to use the tags <header>
, <main>
and <footer>
for the top, middle and bottom part instead of <div>
.
Community feedback
- @dewslysePosted over 3 years ago
Hello Filippo!
Nice job on you submission. It is well done 👍
You can use
header
for the top part andfooter
for the bottom part. However, themain
tag cannot have an<article>
as its parent.Marked as helpful1
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