Lab2 - CSS
Goals of the exercise
- You can easily use tag, class, id, and pseudo selectors.
- You can apply text and background colours.
- You can create reusable classes.
- You use and understand the function of normalise.css.
- You understand the box model and can apply the box-sizing property.
- You can add external fonts and set a fallback font.
- You know how to link a stylesheet to an HTML page and optimise selections for reusability.
- You can analyse and debug CSS with web developer tools.
- You use advanced selectors (such as combinators and pseudo-classes).
- You can apply priority rules.
Go to the solution
Decription
This assignment assumes that you have followed the lessons on CSS and understand most of it.
This includes: selectors, specificity, box model and box sizing, font family, inheritance, DOM
(parent, child, sibling, etc.), absolute and relative units, padding and margin.
Related links
I used w3c-validator for checking and MDN-mozilla for extracting information.
Reflection
Wouw!
The layout and structure in HTML went smoothly, so I finished early.
Aauuw!
I had difficulty linking certain elements.
Not sure?
Coding CSS, because this is new to me, which means I sometimes have doubts.
