Submitted 4 months ago
Responsive Interactive Social Links Profile with Flexbox
@Cristal32
Design comparison
SolutionDesign
Community feedback
- @ahmedsomaaPosted 4 months ago
HTML
First, I want to commend you on the clear structure and use of essential HTML elements. The layout is straightforward, and it’s great to see you’ve included meta tags for viewport settings and a favicon. Here’s some feedback to further enhance your work:
- Use
<img>
for the user's avatar instead of thebackground-image
as this improves accessibility and SEO by allowing descriptive alt text and better semantic meaning, whereas background-image does not support these features. - Use
alt
text for images or add descriptivearia-label
to interactive elements for screen readers. - Consider using
<button>
or<a>
tags for interactive elements instead ofdiv
withtitle
attributes. - Define or remove the
container
class since it's referenced in HTML but not styled in CSS.
CSS
Your CSS demonstrates a good understanding of layout and styling principles. The use of Google Fonts and consistent color schemes is commendable. Here’s how you can refine your work:
- Add media queries to ensure responsiveness across different screen sizes (e.g., 320px to 1440px).
- Include comments in the CSS to describe the purpose of different sections for better readability and maintainability.
- Define styles for the
.container
class or remove it if not used. - Update the hover state color for
.social-link
to match the design specification (hsl(75, 94%, 57%)
). - Ensure color consistency throughout the stylesheet to match the design guide, define them in the
:root
or using@property
.
Marked as helpful1@Cristal32Posted 4 months agoThank you so much for the great feedback! I'll make sure to follow your advice fully!!
1 - Use
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