Core
Interaction

Quick Prototyping

Wednesday, 4/26 – Lab

Instructions

  1. Download the starter kit.
  2. For each task you’ll have approximately 30 minutes to quickly prototype a design using HTML, CSS and jQuery.
  3. At the end of each task, push your code to GitHub so that we can review as a group.
  4. Copy the starter kit and edit the files in the directory corresponding to the excercise question.
  5. These prompts are all very open ended. Have fun with quick prototyping!

1. Creative Breakpoints

  • Use breakpoints in a creative way, including at least one breakpoint that targets devices in landscape orientation.
  • Include at least 4 different breakpoints.
  • Make something drastic and/or unexpected happen at each breakpoint.
@media (orientation: landscape) {
  /* CSS that's applied only to phones
     in landscape orientation */
}

To target other breakpoints, you may use code such as:

@media (max-width: 600px) {
  /* Something that happens when the
     browser is at least 600px wide */
}

@media (max-width: 700px) {
  /* Something that happens when the
     browser is at least 700px wide */
}

2. Responding to Time

  • Use JavaScript to insert the current time and/or day on the page.
  • Use CSS to style it
  • View this CodePen for more inspiration https://codepen.io/dylanfisher/pen/zwojOq?editors=1010
  • Think about how can time be represented in new and different ways in the context of a website.
<div id="time"></div>
function updateTime() {
  var date = new Date();
  $('#time').html( date.toGMTString() );
}

$(function() {
  updateTime();
  setInterval(updateTime, 1000);
});

References


3. Immersive Experiences

It’s easy to use existing media services such as YouTube and Vimeo in creative ways.

References


4. Location

Location can be thought about in terms of maps, images or other devices. You don’t necessarily need to use an embedded map. If you do, try use it in a creative way. For example, the 9-Eyes project by Jon Rafman below.

References