Design comparison
Solution retrospective
This is the second project I'm trying to do. I am trying to use commands to position images, text and diagrams, but if you know more practical or more accurate positioning commands, I would like to hear your advice. Your comments and feedback are valuable to me.
Community feedback
- @AGutierrezRPosted 11 months ago
Hello there @MustafaKemalV 👋. Good job on completing the challenge!
I have some suggestions about your code that might interest you.
General Structure and HTML:
- Wrap the primary content within the
<main>
tag instead of using it as a standalone component like a<div>
. - All the content should be contained within landmarks. Every page minimally needs a
<main>
element. - Consider using
<span>
or<time>
instead of paragraphs for elements that are not actual paragraphs like "Learning" and "Published...".
CSS and Styling:
- Implement CSS custom properties to define and utilize project colors more easily.
Accessibility and Semantic HTML:
- The icons/illustration images are decorative, so their alt text must be empty:
alt=""
. - Profile image could benefit from a more descriptive alt text, like
alt="Headshot of Jules Wyvern"
.
I hope you find this helpful 😁. Most importantly, your submitted solution is fantastic!
Happy coding!
Marked as helpful1 - Wrap the primary content within the
- @BlackpachamamePosted 11 months ago
Hey, you did really well!
I can only make one correction regarding how to center the content, for this you can use the same properties that you used in the
container
but in thebody
:body { font-family: 'Outfit', sans-serif; background-color: hsl(217, 54%, 11%); display: flex; justify-content: center; align-items: center; flex-direction: column; min-height: 100vh; } .container { max-width: 22rem; /* margin: 0 auto; This no longer works */ }
The rest is wonderful! 🤩
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