Design comparison
Community feedback
- @mverma45Posted 7 months ago
Looks good, what I noticed on your code is you have <h2> tags multiple times for the container cards, what I would suggest is making them <p> tags and in the CSS making those <p> tags look like <h2> tags. Remember that the tags h1-h6 can and only be used once. Otherwise everything looks good. Good job.
0@PYXHDPosted 7 months ago@mverma45 Hum... You can't have more than one <h1> but it's not the same with the others. You can have more than one <h2> or others ;)
0@mverma45Posted 7 months ago@PYXHD What I'm saying is to my knowledge and understanding, I might be wrong it's best practice to have one of each. If you need to have multiple h2 tags use a p tag and style the tag as an h2.
0@PYXHDPosted 7 months ago@mverma45 I really don't want to be rude, I'm french and I work on my english but it's not "best practice" to have just one of each, where did you find this false information ? o_O
Only one <h1>, ok; but you can have an "infinite" of all the others (<h2>, <h3>, etc...), in any case, as much as you need.
What's more, work on <h2> is also important here with regard to SEO, since they provide information on keywords useful for SEO.
0@mverma45Posted 7 months ago@PYXHD okay, sorry not going to argue over how many h2 tags can be added.
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