Foundations of Web Design

Class Exercise 10:

Make a chessboard using CSS Grid

Goal:

Use grid-template-columns and grid-template-rows to create a chessboard grid.

Instructions:

Download starter_code10.zip:

Setup your Files:

Add Internal CSS to your HTML File:

Preview:

Viewing Your Web Page:

  1. Run Your Project with Live Server:
    • Right-click on your “CE10.html” file and select “Open with Live Server”.
    • This will open your web page in your default browser.
    • You should now see your custom-styled web page.
  2. Run Your Project with Live Preview:
    • Right-click on your “CE10.html” file and select “Show Preview”.
    • This will open your web page in a tab in VS Code next to your HTML file.