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 Media dashboard using SASS & Flexbox

Mathieuโ€ข 295

@mathcrln

Desktop design screenshot for the Social media dashboard with theme switcher coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I just have to questions :

  • I struggled to make the top border with the gradient for Instagram. Is there an easy way to do it?
  • Could you give me some basic feedbacks on ways I could improve my code (cleaner, more readable, etc)?

Community feedback

P
ApplePieGiraffeโ€ข 30,565

@ApplePieGiraffe

Posted

Hey, Mathieu Cรฉraline! ๐Ÿ‘‹

Great job on this challenge! Your solution looks good, responds well, and the light/dark themes work great! ๐Ÿ‘

I only suggest,

  • Switching to a one-column layout for the statistics cards just a wee bit sooner than 395px so that the content inside the boxes doesn't look too squeezed and none of the text overflows its container.

Keep coding (and happy coding, too)! ๐Ÿ˜

1

Mathieuโ€ข 295

@mathcrln

Posted

@ApplePieGiraffe Hello, thank you very much for your feedback, it definitely motivates me to continue working hard! ๐Ÿ˜

And I'll keep that in mind, I always wonder what is the right breakpoint so that it doesn't seem neither too squeezed or too loose.

Thank you, and good luck to you as well!

1

Account Deleted

.instagram {
  border-top: 4px solid;
  border-image-source: linear-gradient(
    to right,
    hsl(37, 97%, 70%),
    hsl(329, 70%, 58%)
  );
  border-image-slice: 1;
}

This is what I did for the top border for the Instagram box.

1

Mathieuโ€ข 295

@mathcrln

Posted

Hello! Ohhh, thank you ๐Ÿ™๐Ÿพ I've been wondering how to do it since then! Thank you so much.

1
Gerben Dolโ€ข 3,115

@GerbenDol

Posted

Hi Mathieu. I think your solution for the top borders is solid, so don't worry about that. If you had issues with making it like this, try practicing with pseudo-elements more in your future solutions! ๐Ÿ˜

I think you CSS is also looking good! The way you put every bit in their own section makes it very readable and easy to navigate. Keep it up! ๐Ÿ™Œ๐Ÿป

1

Mathieuโ€ข 295

@mathcrln

Posted

@GerbenDol Thank you for your feedbacks! Really appreciate it. I didnโ€™t have much issue with the pseudo-elements in themselves, but i thought it didnโ€™t exactly look like the design and I felt like this was โ€œa hackโ€ haha.

Thank you so much, makes me want to keep practicing more and more ๐Ÿ™๐Ÿพ

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