Design comparison
SolutionDesign
Community feedback
- @mendezpviPosted 11 days ago
Hi Hager Yasser, here are some observations:
- Create a separate CSS file.
- IDs should be reserved for JavaScript interactions. Use classes (class) instead for styling.
- Use semantic tags:
- id="main-container" should be
<main>
. - id="firstRow" or similar IDs should be
<section>
.
- Fix the content structure:
- id="offers" replace it with an
<h2>
- id="tutorial" appears to represent a list; replace it with an unordered list
<ul>
and use<li>
for its items.
- In the
href
attribute of the link inside the attribution section, include the URL to your repository. - No need to reset the body padding, browsers already apply a default padding of 0, so resetting it is unnecessary.
- The current background color doesn’t match the design. Make sure to use the color specified in the project’s style guide.
Happy coding!
Marked as helpful0
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