Design comparison
Solution retrospective
I found the project tough. I can't assure 100% that my container contents are aligned properly but i am willing to take corrections and learn. I spent 2 days on this.
Community feedback
- @mubizzyPosted over 2 years ago
Excellent job on this challenge! your report has a few issues though:
- wrap everything in your body in
<main>
or use semantics
2. it is a best practice to use both HTML 5 and ARIA landmarks to ensure all content is contained within a navigational region.
Hope it helps:)...don't forget to mark it as helpful 👍
You can get more details here...click here
Marked as helpful0 - wrap everything in your body in
- @MacChristoPosted over 2 years ago
1.when you put an image on the screen, you need to style it by tweaking the width, height, etc
font-family: "Outfit" , 'sans-serif'; font-size: 15px; background-color: var(--light-gray); display: flex; flex-direction: column; align-items: center; justify-content: center; height: calc(100vh-1px); *<---Remove* /* margin: 1.25rem; */ *<----Remove* align-content: center; height: 100vh; *<----Add* }
for the container-div
.container { max-width: 320px; justify-content: center; }
Remove the padding on the container-img
.container h1 { color: var(--dark-blue); text-align: center; margin-bottom: 1rem; max-width: 285px; *<----Add* font-size: 22px; *<----Add* }
.container p { color: var(--grayish-blue); text-align: center; max-width: 260px; *<---Add* }
.attribution { font-size: 11px; text-align: center; position: relative; *<----Add* top: 2rem; *<---Add* }
Hope this helps....Happy coding
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