Feb 1
Semantic HTML & CSS

HTML Recap

Semantic HTML

New Semantic Elements in HTML5 are supported by all modern browsers (except for Internet Explorer 8), according to http://caniuse.com/#feat=html5semantic
  • <header> - introduction for a section, or for the body. Read more at w3c html spec
  • <article> - "a self-contained item that is, in principle, independently distributable or reusable, e.g. in syndication. Examples: A forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content." (via w3c html spec)
  • <section> - "thematic grouping of content." "Examples of sections would be chapters, the various tabbed pages in a tabbed dialog box, or the numbered sections of a thesis. A Web site's home page could be split into sections for an introduction, news items, and contact information." (via w3c html spec)
  • <nav> - "major navigation block" via w3c html spec
  • <aside> - content that is not directly related to the surrounding content. For example, a twitter feed, advertising, links to other websites, links to other content on this website, or a pull quote from the article that repeats something from the article (i.e. it is not an essential part of the article). Read more at w3c.
  • <figure> - a self contained unit, optionally with a caption (figcaption). Often used for images. Read more at w3c.
  • <main> - Contains the main content of the page. It can only be used once per page. Read more at w3c and html5doctor.
  • <time> - Use with a machine-readable timestamp in the datetime attribute, and a human-readable description. Example: <time datetime="2005-10-07">October</time>. Read more at CSS Tricks.
  • <mark> - Used to highlight text. Read more here.

CSS - Cascading Style Sheet

  • Syntax:
    • Selector
    • Declaration Block
    • Property
    • Value
    • Comments: /*this is a comment/*

  • Selector Types:
    • Universal: *
    • Element: li
    • Class: .class-name
    • Pseuo-Element: a:hover, li:first-child, li:before
    • Pseudo-class: .class-name:hover
    • ID: #id-name
    • Child (direct descendant): li > a
    • Descendant (any child): li a
    • Read more: http://www.w3schools.com/cssref/css_selectors.asp
  • Rules can have multiple selectors, separated by commas, i.e.
p, div {
  display: inline;
}

Example from class (updated):

https://d157rqmxrxj6ey.cloudfront.net/jasonsigal/29538/

HW:

Feb 3
The Elements of User Experience

In Class:

HW:

  • Continue work on your project plan for the midterm. Post a draft to Slack. Be prepared to present a 5 minute project proposal on Monday.
  • Create a Site Map for your project, or for an existing website
  • Create a Wireframe for your project, or for an existing website
  • Read Steve Krug's chapter "Billboard Design 101" if you haven't already
  • Continue learning about CSS and HTML on your own—do your second Learning Log.
  • Optional Reading: Elements of User Experience by Jesse James Garrett