UNDER CONSTRUCTION

I am currently re-writing this page: use the refresh button in your browser to see if it's finished, yet.

Week8 8: Intro to CSS

In this lesson you'll start to learn CSS (Cascading Stylesheets), which are used to define the appearance (colour theme, borders, spacing, etc) and layout of your page. We'll start off by learning the syntax of CSS before we begin learning the specific properties and their values.

Intro to CSS

Materials

All links open in the "notes" tab.

Resources

All links open in the "ref" tab.

Homework

Practice/Study Questions

Practice Exercises

Note
In the practice exercises, elements are referred to in all-caps, e.g. FOOTER refers to the <footer></footer> element (or it could also refer to an opening <footer> tag or closing </footer> tag, you will know by the context in which it's used).

For each exercise, validate the HTML using the HTML Validator, and validate your CSS using the CSS Validator. Fix all problems until you get no errors.

  1. If you haven't already done so, create a sub-directory in your local workspace and in your server workspace (off /syst10049) called "week8". Feel free to add an extra level for all of your practice exercises (e.g. /exercises).
    • For each practice exercise in each lesson, you'll usually be asked to create an exercise directory for that project, such as "/exercise1".
    • It is assumed that you will create the exercise project directory in both your local workspace and in your server workspace using the appropriate and standard directory structure discussed in class.
  2. Follow the instructions in the CSS tab of the following CodePen: Exercise 1 Codepen (opens in the pen tab).
  3. Follow the instructions in the CSS tab of the following CodePen: Exercise 2 Codepen (opens in the pen tab)