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

article preview component

vjaimes 180

@vjaimes

Desktop design screenshot for the Article preview component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


any feedback is appreciated!!

Community feedback

@AkoToSiJeromeEh

Posted

Hi! Great Work Out There . I noticed that when the screen size is smaller, the social media images have a space between them due to the "justify-content: space-between" property in the .pop-up class. However, based on the design reference, it should be aligned to the start when the screen are smaller and have a margin, resulting in a smaller amount of space between them. (the bold text is the code I add on your source code) I hope this adjustment works and helps. Happy coding!

@media (max-width: 700px)

.pop-up {

width: 100%;

height: 70px;

padding-right: 30%;

border-radius: 0;

justify-content: start;

} .pop-up > img {

aspect-ratio: 1/1;

object-fit: contain;

margin:10px;you can adjust this

}

Marked as helpful

0

vjaimes 180

@vjaimes

Posted

@AkoToSiJeromeEh thank you for the feedback!!

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