Coding task · JavaScript and React course · Module 14: Advanced Styling

Practice: Responsive Navigation

Create a navigation component that displays a sidebar on large screens and a bottom navigation bar on small screens. Use the useMediaQuery hook with the media query '(max-width: 600px)'. The sidebar should stack items vertically, and the bottom nav should arrange them horizontally.

Task

Implement responsive navigation with useMediaQuery