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

Practice: Responsive Mission Card

Create a MissionCard component that displays full information (name, description, stats, crew) on large screens, and only the name and status on small screens. Use the useMediaQuery hook with the query '(max-width: 600px)' and conditionally render additional sections.

Task

Implement a mission card with different content on mobile and desktop