Click in order · HTML and CSS course · Module 5: Responsiveness

Hiding the sidebar on mobile

Arrange the CSS code that hides the sidebar on mobile devices:

Items to click

  • } }
  • @media
  • { .sidebar {
  • display: none;
  • (max-width: 767px)

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