ah teaches web design and development: 07 The Content King

ah teaches web design and development: 07 The Content King — A slide deck

The Content King

Lecture outline

Covered this week:

  • Considerations of quality content
  • JavaScript basics

Lecture slides will be made available on the day of the lecture.

The Content King

Please close all laptops.

Supporting Users

Research from Google shows that 90 percent of people start a task using one device, then pick it up later on another device...
Windows on the Web (Karen McGrane)

Appropriate content is right for the user or context.

An eyetracker heat-map exemplifying that we do not look at ads on the page
Banner Blindness (Jakob Nielson)
An eyetracker heat-map exemplifying that we do not look at ads on the page
What design considerations should we take with our content to avoid the problem illustrated?

Useful content should fulfill a clear and specific purpose.

Why might there be a concern with each of these options?

Images, video, and audio are content too

Just like we think about text user experience, we can also think about photo user experience (or audio, or video...)

A phone support worker looking extremely happy
What does this photo evoke?
A woodpecker chipping away at a tree
What are you really paying attention to?
An animation of someone following directions to click arrows, but are clicking on the wrong ones
What error has the designer committed here? (Care of Bad UX Blog)

Content should be user-centered.

An image comparing the Ikea desktop and mobile sites
Why might this be a problem?

Ask yourself: Does my user understand the language of my website?


  • Menu
  • Navigation
  • The links place

Keep content concise.

The Web is Lots of Type

"It is the typographer’s task to divide up and organize and interpret this mass of printed matter in such a way that the reader will have a good chance of finding what is of interest to [them]."
Emil Ruder

Content needs maintenance.

Ask yourself: Has my website's content been maintained? Does it need to be maintained?

Maintaining a Tone

Let's take a look at MailChimp's Voice and Tone guide.

Working with JavaScript

When coding/testing JavaScript:

  1. Always progressively enhance
  2. Have the console open
  3. Know your DOM + selectors

Rule 1: Progressively Enhance

Things should work as if javascript did not exist.

Rule 2: Console Open

The console lets you see JavaScript errors. Otherwise your code is a magical mystery box.

// JavaScript is:
// 1) Case Sensitive
anawesomevariable != anAwesomeVariable; // not the same variable

// 2) Requires semicolons
var anAwesomeVariable = 42;

// 3) Is loosely typed
var n = 42; // a number
var s = "42"; // a string
n == s; // this returns 'true', a number can 'equal' a string;

Rule 3: Know Your DOM + selectors

You need to know what you are selecting, and how we move through the DOM.

<!-- What would be three possible selectors for our second <a> tag? -->
<div class="column">
<nav id="navi-main">
<a href="#">Link 1</a>
<a href="#">Link 2</a>

JavaScript fundamentals

Let's open the console.


I recommend plotting your next hike.

A small babbling brook

P2 Due Oct 26

Remember to include clearly accessible links for:

  • 1 URL for citations
  • 1 URL to your complete style guide
  • 1 URL to your GitHub repository

Bonus Office Hours

I will be holding bonus office hours on Monday, October 22nd from 8:30 to 9:30am and Tuesday, October 23rd from 9:30am to 10:30am in my office - room 2816. Please send me an email to confirm availability.

Next lecture is about unicorns and you.

Next reading

"The Worst Portfolio Ever"

Contacting Andrew

Your Lecturer

Reachable at:

  • Office hours — Wednesdays from 11:00-11:50am and Fridays from 8:30-9:20am at the Surrey campus mezzanine.
  • ac.ufs@h_werdna