HTML Academy
Grid Columns IV
CSS Grid #112/15
Back to the list of tasks
  • 1. Grid Layout I
  • 2. Grid Layout II
  • 3. Grid Rows I
  • 4. Grid Rows II
  • 5. Grid Rows III
  • 6. Grid Rows IV
  • 7. Grid Rows V
  • 8. Grid Columns I
  • 9. Grid Columns II
  • 10. Grid Columns III
  • 11. Grid Columns IV
  • 12. Grid Columns V
  • 13. Grid Template I
  • 14. Grid Template II
  • 15. Grid Template III
Grid Template I
  • Sign up
  • Log in

Loading…
Everything will be ready in a few seconds.

  • Challenge

Grid Columns V

Recreate the target with code
DifficultyEasy
CategoryHTML/CSS
Current
Your current page
Target
The result to match
ResultAppears after the first checkAppears after checking
  • index.html
  • style.css
HTML
CSS
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title> Challenge </title> <link rel="stylesheet" href="setting.css"> <link rel="stylesheet" href="local-12.css"> <link rel="stylesheet" href="style.css"> </head> <body> <main class="scene"> <div class="grid"> <div class="brick"> </div> <div class="brick"> </div> </div> </main> </body> </html>
.grid { display: grid; grid-template-columns: {{column1}} {{column2}}; }
-2
Preview

The code has changed. Click “Reload” or turn on autorun.

You have left the challenge page.

Click inside the preview to focus this window.

100%
0
    Completed 0%.

    Challenge completed

    Extra moves
    Continue

    Cookies ∙ Privacy ∙ License Agreement ∙ About ∙ Contacts ∙ © HTML Academy OÜ, 2019−2026

    VISAMastercard

    We are using cookies to gather information which will help you use our website most effectively. You can read about this here or disable this feature if you want. By continuing to browse the site, you agree to our use of cookies.