Design comparison
Solution retrospective
Are these "component" items supposed to have an H1 element? I am assuming since they are components they would be part of a complete web page which should already have an H1 component. I read somewhere there should only be 1 H1 on any given page.
Community feedback
- @txhawgPosted over 2 years ago
The design comparison does not accurately show the solution as coded. Why is that? Where is it getting it's rendering info from? That is frustrating! I spent hours getting it "just right".
0 - @correlucasPosted over 2 years ago
πΎHello Dan, congratulations for your new solution!
I got what you said, in this case you add
h1
only to avoid the solution report saying that you miss theh1 heading
.But in another context for sure the card title will be an
h1
orh2
. Since this is just a component part of a big page and will be not the main title anyway.π I hope this helps you and happy coding!
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