thecodezone.
The Code Zone

HTML + CSS / WIREFRAME WORKSHOP · STEP 1 OF 7

Place the page regions

GUIDED PRACTICE

Place the page regions

Open styles.css for this step. Follow the checklist, keeping your earlier work. If a named comment is missing from an older saved draft, add it without deleting your work. Keep index.html unchanged during this step.

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

Step 1 of 7

Activate the layout parent

Grid belongs on the shared parent, not on each region. With no column template, the regions start in one column.

Your task

Open styles.css for this step. Follow the checklist, keeping your earlier work. If a named comment is missing from an older saved draft, add it without deleting your work. Keep index.html unchanged during this step.

To pass this step:

  • In styles.css, add a rule with selector .site outside all media blocks, directly below the STYLE CLASS SITE comment.
  • Set its display property to grid.
  • Set its gap property to 20px.

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

A declaration goes inside the selector’s braces. Here is one focused rule from this step: ``css .site { display: grid; gap: 20px; }

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.