Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

My solution

PYXHD 270

@PYXHD

Desktop design screenshot for the Four card feature section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

P

@mverma45

Posted

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

PYXHD 270

@PYXHD

Posted

@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
P

@mverma45

Posted

@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
PYXHD 270

@PYXHD

Posted

@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
P

@mverma45

Posted

@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 GitHub
Discord logo

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