Question · JavaScript and React course · Module 14: Advanced Styling

CSS Modules Isolation

What is the main advantage of CSS Modules compared to regular CSS files?

Answer options

  • Automatic generation of responsive layouts
  • Faster style loading in the browser
  • Ability to use JavaScript inside CSS stylesheets
  • Style isolation -- class names are automatically unique

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