Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Social Links Profile Resolution

CarlosFujimotoβ€’ 20

@CarlosFujimoto

Desktop design screenshot for the Social links profile coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


How could I have used less div?

Community feedback

Daniel πŸ›Έβ€’ 40,920

@danielmrz-dev

Posted

Hello @CarlosFujimoto!

Your solution looks great!

I have a suggestion for improvement:

  • Use <main> to wrap the main content instead of <div>.

πŸ“Œ Tags like <div> and <span> are typical examples of non-semantic HTML elements. They serve only as content holders but give no indication as to what type of content they contain or what role that content plays on the page.

This tag change does not impact your project visually and makes your HTML code more semantic, improving SEO optimization as well as the accessibility of your project.

I hope it helps!

Other than that, great job!

Marked as helpful

0
Rebecca Padgettβ€’ 1,680

@bccpadge

Posted

Hello @CarlosFujimoto. Congratulations on completing this challenge!!!πŸŽ‰

To answer your question, you should use less divs because your website isn't accessible for screen readers. Div is a non-semantic HTML tag.

You should read this Frontend Mentor article on 10 fundamental web accessibility tips for front-end developers

  • Every website should have at least one landmark like a main tag
  • Images must have descriptive alt text because screen readers will say the file image source path. Example:
<img src="assets/images/avatar-jessica.jpeg" alt="headshot of Jessica Randall" />
  • For the social media content should be wrapped in ul because it is a list.
  • Attribution should be wrapped in a footer because holds copyright and legal information.

More infoπŸ“š:

CSS 🎨:

Here is my solution to this challenge - Social links profile

I hope you find this useful and don't hesitate to reach out if you have any questions

Marked as helpful

0

Please log in to post a comment

Log in with GitHub
Discord logo

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