@Risclover
Posted
Just a small note about your code. You are using a lot of nested <section>
elements, and several of them would be better as <div>
tags instead.
From the W3C specification:
"The <section> tag is not a generic container. If you need an element only for styling purposes or for scripting, it’s better to use a <div> element instead. The use of the <section> element is appropriate only when the contents of an element are listed in the document’s outline."
@Scott1UP
Posted
Hey @Risclover
Thanks for the comment and the feedback — I appreciate you taking the time to actually review my code. Noted about using <div> elements vs. <sections>.
Out of curiosity, would you happen to know of any good resources that detail general best practices for structuring HTML and CSS?
Thank you again for the feedback.