This is my first time building a website using HTML5 and I've come across a small problem.
Here is the code snippet:
<header></header>
<section>
<header></header>
<article></article>
<footer></footer>
</section>
<footer></footer>
The issue I'm facing is that the footer within my section is inheriting the style of the main footer. I'm not sure how to prevent this inheritance in my code. Can someone provide guidance?
Additional note: The footer within the section is what's inheriting the style, not the main footer. Here is an image for reference: link to photo