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

News homepage

TCO932 220

@TCO932

Desktop design screenshot for the News homepage coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Community feedback

P
CHBNDJ 390

@CHBNDJ

Posted

Nice project overall but try in the desktop version to put a margin between the header and your main. Also regarding your mobile version you can try to put a transition for your toggle menu and also try to make it appear for the right instead from the left. Here what ive done

nav { width: 65%; height: 100vh; position: absolute; top: 0; right: 0; display: flex; justify-content: center; align-items: center; background-color: #FFFDFA; margin-right: -100%; transition: margin-right .5s ease; z-index: 1000; }

nav.open-menu {
    margin-right: 0;
}  by default the nav menu is in margin right -100% when i click to the icon menu the nav come until the margin-right is 0.  Cheers. :)
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