Study guide for CSS test

Jon Ippolito

Version 3.0

Note: This guide does not necessarily cover everything on the test; consult the syllabus for topics, badges, and readings/chats to be sure you have reviewed all aspects.

DEBUGGING HTML AND CSS

The in-class test will require you to debug a broken web page collaboratively. You should be able to identify and fix common beginner mistakes in HTML and CSS.

ADDING CSS

Know three basic places that CSS can appear and their pros and cons:

CSS SELECTORS

Know the three general types of selectors:

Know how to nest selectors:

nav {
	a {
		...
	}
}

nav {
	a:hover {
		...
	}
}

CSS SYNTAX

You should know all aspects of CSS syntax cold. For example, where do these characters appear and what do they do?

You should also recognize common syntax mistakes such as:

FILE PATHS

Know how to identify paths to files, eg:

CSS VALUES

Know acceptable values for dimensions and colors, including:

Know common value mistakes:

CSS VARIABLES

Know how CSS variables work:

CSS PROPERTIES

Know the syntax and values for:

BOX MODEL

Distinguish these "envelopes" to block-level content:

Know TRBL order for shorthand values:

Example:

DISPLAY

Know these layout options:

GRID LAYOUT

Know how to create layouts using:

FLEX AND GRID ALIGNMENT

Know how to distribute items using:

HOVER AND TRANSITIONS

Know how to create simple interaction effects:

Example:


a:hover { 
	transform: scale(1.5); 
}