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

Static page using css

Charlieā€¢ 300

@Xarlizard

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?

.

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

.

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

.

Community feedback

Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

Hello, @Xarlizard!

Your project is looking fantastic!

I'd like to suggest a way to make it even better:

  • Using margin isn't always the most effective method for centering an element.

Here's a highly efficient approach to position an element at the center of the page both vertically and horizontally:

šŸ“Œ Apply this CSS to the body (avoid using position or margins in order to work correctly):

body {
    min-height: 100vh;
    display: flex; 
    justify-content: center;
    align-items: center;
}

I hope you find this helpful!

Keep up the excellent work!

Marked as helpful

2

Charlieā€¢ 300

@Xarlizard

Posted

@danielmrz-dev eyo Daniel, yes definitely!

You also pointed that out on a previous exercise of mine and I hadn't seen it until after uploading this one so, yeah, I already know it thanks to you šŸ˜Š

On my new exercises, I've already implemented your suggestion with display: flex; on the body;

Again, thx for pointing it out!

Have a good one m8 šŸ˜‰

1
Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

@Xarlizard

Did I? šŸ˜†

I'm sorry, I'm very active on the platform and I make a lot of comments, so I don't always remember if I already commented on one of your solutions šŸ˜…

Anyway, I'm glad I could help!

1
Charlieā€¢ 300

@Xarlizard

Posted

@danielmrz-dev yes xD, both responses were 1 hour apart from each other...šŸ˜‚

Anyways I'm glad to have you on this community, your tips are so well formatted/written you actually sound like a real teacher lol šŸ™Œ

1
Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

@Xarlizard

Thank you for your kind words šŸ˜Š

I'm really glad my comments were useful āœ…

0
P
Seanā€¢ 210

@UFXtrendscalper

Posted

šŸ‘ŒšŸ¼

1

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