Closed AshutoshSajan closed 3 years ago
Thanks but I'm not sure this would fix the issue, as a
<p>
tag isn't allowed inside an<h3>
either.Please ensure that your fix will generate valid HTML in the W3C Validator: https://validator.w3.org/nu/#textarea
okay, I will have a look. Thanks for the info.
@jaimeiniesta is it a good idea to add span here? But I think adding span can also cause styling issues.
Hi @AshutoshSajan - the issue is that we're using h3
for the "previous lesson" and "next lesson" links near the footer. These should not be contained within an h3
, as these tags are for sections of the documents.
Check this screenshot, here I've used the HeadingsMap chrome extension to see the heading structure and we can see that we're creating some confusion about the document structure.
Instead of using h3
for those links, we should just style them with CSS. Better still, we should declare some kind of navigation but for now let's just remove those h3
:)
@AshutoshSajan here's what I would do to fix this issue, what do you think?
https://github.com/elixirschool/school_house/pull/175/files
Feel free to incorporate these changes in your PR :)
@AshutoshSajan here's what I would do to fix this issue, what do you think?
https://github.com/elixirschool/school_house/pull/175/files
Feel free to incorporate these changes in your PR :)
Looking good 👍🏽, Sorry I was little busy
resolve #170