HTML Academy
Column Line Range
CSS Grid #313/19
Back to the list of tasks
  • 1. Row Placement I
  • 2. Row Placement II
  • 3. Row Placement III
  • 4. Row Line Range
  • 5. Row Start Line
  • 6. Row End Line
  • 7. Spanning Rows I
  • 8. Spanning Rows II
  • 9. Column Placement I
  • 10. Column Placement II
  • 11. Column Placement III
  • 12. Column Line Range
  • 13. Column Start Line
  • 14. Column End Line
  • 15. Spanning Columns I
  • 16. Spanning Columns II
  • 17. Item Coordinates
  • 18. Item Line Ranges
  • 19. Spanning Rows and Columns
Column End Line
  • Sign up
  • Log in

Loading…
Everything will be ready in a few seconds.

  • Challenge

Column Start Line

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-13.css"> <link rel="stylesheet" href="style.css"> </head> <body> <main class="scene"> <div class="grid grid--cells"> <div class="brick brick--orange target"> </div> </div> </main> </body> </html>
.grid { display: grid; grid-template-columns: 40px 40px 40px 40px 40px 40px 40px; grid-template-rows: 40px 40px 40px 40px; } .target { grid-column: {{columnStart}} / 8; }
-1
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.