Unit04 Introduction to CSS

Overview

Now the fun part begins where you can add some color and style to your pages using an external CSS file. You will practice modifying the built in selectors like p and h1 as well as using classes to target various parts of your web page. You will learn to use font colors, spacing, font families, borders etc. Once you have added all the required CSS style information you will need to then use an FTP program to transfer your pages from your local computer to the web host computer. Be sure that you check your work on the server by opening your URL and clicking through your pages. What you see is what we grade. We will be checking your work using the w3c validator, so you should as well.

Vocabulary

CSS
Used to control a web site’s text color, background colors, borders, spacing, headers, links and positioning of elements.
Inline Style
Used within the HTML to apply a unique style for a single element. BAD idea!
Internal Styles
Used in the head of a web page to uniquely style a single page
External Style Sheet
One file controls the entire website, this is best practice.
Cascade Order
Controls which rule applies when there is a conflict. Levels of specificity.
Validation
Tools to insure that your CSS is correctly formed.

Tools

Objectives

At the end of this module, you should be able to...

Tasks

Download

Download the Start file for Unit 4

Watch

Assignment Example

View the index page example.

View the tools page example.

Assignment Checklists

Follow Along Activity(5 pts)

Unit04 Introduction to CSS (10 pts)

Now that you have two linked pages, you are ready to add some styling. In this assignment you will attach an external style sheet to both HTML pages and write some CSS rules that make your page come alive. Remember the color scheme from unit 2. Well now it’s time to get those HEX numbers.

External Style Sheet
Font Family Use

Type is important as it sets the mood of your page. Instead of using with the default fonts on the end users system, let's try a Google font. NOTE: You are not allowed to use the Google Font Face "Oxygen" because that is the one I used in the example. Use the one from your design document.

Styling Tags

Style basic HTML tags.

Comments

Include CSS comments (different than HTML) in your style sheet.

Styling Lists

Write style rules that alter the bullets displayed on your lists.

Borders

Please demonstrate you can use borders in your work by implementing the following.

Navigation

Turn the ul used for page navigation into a horizontal list.

Pseudo Classes

Add a pseudo class that affects the links in the content of your page.

Use of Color

Please also include these additional things in the CSS of your document.

Validation

Please insure your site passes both validation tests.

Upload to GitHub

Upload your assignment to a GitHub repository

Grade

In order to receive a grade for this assignment you must earn 90% of the points listed above.