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 using html and css

@Shivanshvohra

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


What are you most proud of, and what would you do differently next time?

this seemed pretty easy

What challenges did you encounter, and how did you overcome them?

unable to centre the outerbox to the centre of the page vertically.and couldnt apply focus element rather used hover

What specific areas of your project would you like help with?

how to apply focus property to anything except an input label and how to centre the outerbox on the weboage verticaaly align items didnt work

Community feedback

P
yinnie 280

@wcyin9

Posted

Hi there!

You can make it align vertically by adding the code below to the body selector in css:

display: flex;

justify-content: center;

align-items: center;

In addition, I recommend using tags such as main in your html instead of relying on div. This is important for ARIA landmarks, which is helpful for screen readers to know where they are on the page. You can substitute div class="outerbox" to simply main.

Hope this was helpful!

0

@Pavlovic2001

Posted

I would use position absolute to position it more in the middle.

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