thecodezone.
The Code Zone

HTML + CSS / GRID PRACTICE · STEP 1 OF 8

Place and span Grid items

GUIDED PRACTICE

Place and span Grid items

In index.html, build the tiles inside the body. Keep the supplied document head and stylesheet link.

Your code stays in one editor through every step. Word wrap is enabled.

Step 1 of 8

Create the page regions

Three columns have four boundary lines, numbered 1 through 4. Keep the region order useful for reading before placing anything.

Your task

In index.html, build the tiles inside the body. Keep the supplied document head and stylesheet link.

To pass this step:

  • Just below the LAYOUT comment inside the body element, add a main element. Give it the class layout.
  • Inside that main element, add four div elements in this order: dashboard, topics, practice, notes.
  • Give every new div the class tile. Each tile also needs its own second class, listed below.
  • Give the first tile the class lead and the visible text Study dashboard.
  • Give the second tile the class menu and the visible text Your topics.
  • Give the third tile the class content and the visible text Today’s practice.
  • Give the fourth tile the class notes and the visible text Review notes.

Press the play button labeled Run & check this step below the editor to run your code and see your check results.

A hint for this step

Classes are space-separated inside one class attribute. For example, the dashboard tile belongs inside the main element: ``html <div class="tile lead">Study dashboard</div>

Your editor is opening.

Each step builds on the last. Finish the current step before opening the next one; your code stays with you.

Code and completed steps save in this browser when signed out. Sign in to save across devices.

Resources for this step

Looking things up is part of programming. Compare these explanations with the task, then return and try the idea in your own code.

Ready to checkRun the checks to see your results here.

Replace your editor code?

Your current work will be replaced. Choose Cancel to keep it.