Design comparison
SolutionDesign
Community feedback
- @Yessica-jsyPosted 3 months ago
The code generally works well, but it seems a bit disorganized. I noticed that the <footer> is outside of the <body>, which is not correct. The <footer> should be inside the <body> to maintain a valid and semantically correct HTML structure.
Additionally, there is no <main> tag used for the main content. Including <main> around the primary section of the page would improve both accessibility and the organization of the HTML.
Using Prettier to format the code will help you maintain a cleaner and more consistent structure. This will ensure proper indentation, spacing, and overall readability.
Marked as helpful1
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