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

responsive news homepage

#jquery
prabhjot singhโ€ข 30

@prabh234

Desktop design screenshot for the News homepage coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I could not make the background dark in the mobile version when you toggle the menu otherwise it's almost the same as asked in the challenge

Community feedback

Ayobami Ikuewumiโ€ข 850

@Ikuewumi

Posted

Hi @prabh234 ๐Ÿ‘‹. Great solution, and about your question, the option I would recommend is adding a box-shadow that has a large spread on the nav in mobile screens. I would suggest that you not animate the box-shadow though, might impact performance negatively. The code could go like so:

nav {
    ...
    box-shadow: 0 0 0 200vmax #00000020;
}

If you have any questions, don't hesitate to ask, and keep coding๐Ÿ‘,

Ayobami

Marked as helpful

0

prabhjot singhโ€ข 30

@prabh234

Posted

@Ikuewumi thank you so much I applied it and it worked perfectly

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