Foundations of Web Design

Class Exercise 6:

Practicing CSS Positioning

Goal:

Understand and apply different CSS positioning properties (static, relative, absolute, fixed, sticky)

Instructions:

Download starter_code06.zip:

Setup your Files:

Follow along:

Viewing Your Web Page:

  1. Run Your Project with Live Server:
    • Right-click on your “CE06.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 “CE06.html” file and select “Show Preview”.
    • This will open your web page in a tab in VS Code next to your HTML file.