Question · JavaScript and React course · Module 7: Styling and Animations

Basics: Breakpoints in Responsive Design

Which approach to breakpoints is recommended in responsive design?

Answer options

  • Creating separate CSS files for each screen size
  • Desktop-first using max-width for each device separately
  • Mobile-first using min-width in media queries
  • Using fixed pixel values instead of media queries

You can check the correct answer by solving this task in the CodeWorlds game.