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 using Pure CSS

@abiyyuaqzal

Desktop design screenshot for the Social links profile coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

P
Steven Stroud 9,200

@Stroudy

Posted

Hello again, I did leave some feedback you requested on your last solution, Fantastic effort on this! You’re really nailing it. Just a few things I noticed that could make it even better…

  • I would put these into a <ul> <li>, and the text should be wrapped with a <a> so it is accessible with a keyboard using the tab key, Using an <a> tag for navigation is semantically correct, improves accessibility for screen readers, and ensures consistent behavior across browsers, unlike a <button> or a <div> not intended for links.
                    <div class="social-media">
                        <a href="https://github.com/abiyyuaqzal" target="_blank">
                            <button class="github">GitHub</button>
                        </a>
                        <a href="https://www.frontendmentor.io/profile/abiyyuaqzal" target="_blank">
                            <button class="frontend-mentor">Frontend Mentor</button>
                        </a>
                        <a href="https://www.linkedin.com/in/aqzal-abiyyu-nugroho-0b968b128/" target="_blank">
                            <button class="linkedin">LinkedIn</button>
                        </a>
                        <a href="https://www.x.com/azaaleya" target="_blank">
                            <button class="twitter">X</button>
                        </a>
                        <a href="https://www.instagram.com/azaaleya?igsh=Mjl6N2RocGIxMXds" target="_blank">
                            <button class="instagram">Instagram</button>
                        </a>
                    </div>
  • Your heading elements <h1><h4> Missing <h2><h3>, Heading elements should be in sequentially-descending order (e.g., <h1>, <h2>, <h3>) to create a clear content structure, improving accessibility and SEO. Skipping levels or using them out of order can confuse screen readers, affect search engine rankings, and make your content harder to understand.
                        <h1 class="name-user">Aqzal Abiyyu Nugroho</h1>
                        <h4 class="location-user">Jakarta, Indonesia</h4>
  • Image does not need to be wrapped in a <div> on its own, serves no purpose.
                    <div class="avatar">
                        <img class="avatar-img" src="./assets/images/DSC03204-min.JPG" alt="avatar">
                    </div>

I hope you found this advice helpful! Keep up the great work, You’re doing amazing, and I can’t wait to see what you create next. Happy coding! 🚀

Marked as helpful

0

@abiyyuaqzal

Posted

ooh my bad, so if we want to put the link we dont use button instead <li> and <a> and for h1,h2,h3 should be sequentially right? @Stroudy

1
P
Steven Stroud 9,200

@Stroudy

Posted

Hey @abiyyuaqzal, Yeah exactly, Buttons are best used for interactive elements that trigger actions like submitting forms, triggering events, or starting dynamic processes. They provide clear calls to action, support accessibility, and are ideal for tasks requiring user input or engagement. You got this bro!

0

@vivanchauhan

Posted

close to the reference image good job buddy

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