Design comparison
Community feedback
- @RiscloverPosted 12 months ago
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."
0@Scott1UPPosted 12 months agoHey @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.
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