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

using css grid, css flex, js

@tannguyenk3

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

@alekseibodeev

Posted

Hi, there 👋 Well done!

Mobile navigation menu behaves a bit weird on collapsing. You can fix that by moving some properties from open state to general nav properties:

nav {
+ position: fixed;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ width: 75vw;
+ background-color: var(--off-white);
+ padding: 1.25rem;
  opacity: 0;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.nav.open {
  oppacity: 1;
  z-index: 1;
}
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