reading-notes

Class 5 - Design Web Pages with CSS

Example CSS for a Header

Lab 5 - Design Web Pages with CSS

Setup

  1. Recreate your wireframe, and work with your partner to identify what styles you can apply.
  2. Label your wireframe with what colors go where.

Resources Link/Pages

  1. Coolors Color Palette
  2. CSS Properties

Written Class Notes

Read 5 - Design Web Pages with CSS Discussion and Reflection

Resources Link/Pages

  1. What is CSS
    • Includes a selector {property: value;}
    • CSS is divided into modules that have specific styling choices
  2. How to Add CSS
  3. CSS Color
  4. CSS Reference
  5. Myers Web Reset Stylesheet

Answer

  1. What is the purpose of CSS?
    • Cascading Style Sheets: changes how HTML elements are shown by adding style and manipulate HTML into something visually pleasing and readable.
  2. What are the three ways to insert CSS into your project?
    • External: creating a separate css file and use the link element.
    • Internal: applies styles for multiple elements on a page. Used inside style element inside head section
    • Inline: apply to a single element using style attribute
  3. Write an example of a CSS rule that would give all “< p >” elements red text.
    • P { color: read; }