Question · HTML and CSS course · Module 5: Responsiveness

Three columns in CSS Grid

How do you create a CSS Grid with three equal columns?

Answer options

  • grid-columns: 3
  • grid-template-columns: 1fr 1fr 1fr
  • columns: repeat(3)
  • display: grid-3col

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