I use flexbox and margin-inline i didn't know to use

Solution retrospective
About de SEO another project means this topic about the images so I must to write height and width
Please log in to post a comment
Log in with GitHubCommunity feedback
- @FaridDanilo
Improvement suggestion:
- HTML semantics: Improve with proper tags
Replace text-only <li> tags with real buttons or links:
<ul class="social__links"> <li><a href="#" class="network social__github">GitHub</a></li> <li><a href="#" class="network social__frontend">Frontend Mentor</a></li> <li><a href="#" class="network social__linkedIn">LinkedIn</a></li> <li><a href="#" class="network social__twitter">Twitter</a></li> <li><a href="#" class="network social__instagram">Instagram</a></li> </ul>Advantages:
Improves accessibility (for screen readers and keyboard navigation).
Improves interaction (real links can be clicked and opened).
- Semantic Organization of Content
You could use tags like <header>, <main>, and <footer> to separate sections if the design were larger. For now, you might consider something like this:
<main class="social"> <!-- Your content here --> </main>CSS Styles:
You've done an excellent overall job. The design is well-structured, and you use variables, relative units, and consistent styles.
THE GOOD Good use of :root to define reusable CSS variables.
Good BEM structure.
Clean and well-organized styles.
Correct use of object-fit, border-radius, hover, transition, etc.
Use of media queries for responsive design.
Improvement and Optimization Suggestions
- True Vertical Centering on the Entire Screen
You currently use align-content: center; on .body, but it doesn't work because it's not a grid or flex container.
Solution: Change .body to display: grid or flex to achieve true vertical centering, like this:
.body { display: grid; place-items: center; }
This will center .social completely on the screen, vertically and horizontally.
- P@WeatherheadOnline
Nice solution!
- @blovelace84
Hey, quick question: I notice you have a #react at the top in your solution. Was the entire code meant to be React or just basic HTML and CSS? Just wondering.
Join 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