SlideShare une entreprise Scribd logo
1  sur  44
Télécharger pour lire hors ligne
PROTOTYPING
                                      with




TODD ZAKI WARFEL / UXLISBON /#HTML5
Grab the files
http://bit.ly/HTML5_prototype
Guiding Principles
Set Expectations
Guiding Principles
The Best Tool is the one you know
Guiding Principles
Prototype Only What you Need
HTMl as a prototyping tool
Pros and Cons
About that code thing
Production vs. Non-production
html vs. html5
HTML Doctypes
<!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  XHTML  1.1//EN"

     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  XHTML  1.0  Strict//EN"

     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-­‐strict.dtd">

<!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  HTML  4.01  Transitional//EN"

      "http://www.w3.org/TR/html4/loose.dtd">

<!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  XHTML  1.0  Frameset//EN"

     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-­‐frameset.dtd">

<!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  HTML  4.01  Strict//EN"

      "http://www.w3.org/TR/html4/strict.dtd">

<!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  HTML  4.01  Transitional//EN"

      "http://www.w3.org/TR/html4/loose.dtd">
HTML5 Doctypes
<!DOCTYPE  HTML>
HTML Tags            HTML5 Tags
<div>                <article>

<p>                  <aside>

<dl>,  <dt>,  <dd>   <section>

<ol>,  <ul>,  <li>   <header>,  <hgroup>

<fieldset>           <nav>

<input>              <footer>

                     <datalist>

                     <progress>

                     <time>
HTML helps you think about the
Organization / Structure
                                 DESIGN
html page structure
A typical HTML page will
                                  div  id=header
use divs with IDs and
Classes to create the              div  id=nav
structure.

                           div  id=content         div  id=  
                                                   sidebar




                                  div  id=footer
HTML5 page structure
HTML5 gives semantic
meaning to these structures,             header
which previously required
IDs and Classes.
                               section/article
                                                  aside




                                         footer
Pro tip: Update your reset.css
article,  aside,  footer,  header,  
hgroup,  nav,  section  
{display:block;  margin:0;  padding:
0;  border:0;  font-­‐weight:inherit;  
font-­‐style:inherit;  font-­‐size:
100%;  font-­‐family:inherit;  
vertical-­‐align:baseline;  list-­‐
style:none;  outline:none}
Pro tip: Update your reset.css
article,  aside,  footer,  header,  
hgroup,  nav,  section  
{display:block;  margin:0;  padding:
0;  border:0;  font-­‐weight:inherit;  
font-­‐style:inherit;  font-­‐size:
100%;  font-­‐family:inherit;  
vertical-­‐align:baseline;  list-­‐
style:none;  outline:none}
html5 Recursiveness
HTML5 allows for multiple
                                        header
sections and articles within
a single page. Each section/             nav
article can have its own
header, footer, aside and      section           aside
nav.
                               header

                               article




                               footer


                                        footer
html5 Recursiveness
HTML5 allows for multiple
                                        header
sections and articles within
a single page. Each section/             nav
article can have its own
header, footer, aside and      section           aside
nav.
                               header

                               article




                               footer


                                        footer
html5 Recursiveness
HTML5 allows for multiple
                                        header
sections and articles within
a single page. Each section/             nav
article can have its own
header, footer, aside and      section           aside
nav.
                               header


                               article


                               footer


                                        footer
What about the problem child?
IE needs a little help from
our friend JavaScript.

Modernizer/HTML5shiv to
the rescue.

http://modernizr.com

http://
html5shiv.googlecode.co
m/svn/trunk/html5.js
Pro tip: Smack IE Into Shape
<!DOCTYPE  html>
<html>
<head>
<!-­‐-­‐[if  lt  IE  9]>
<script  src="http://html5shiv.googlecode.com/svn/
trunk/html5.js"  type="text/javascript"></script>
<![endif]-­‐-­‐>
</head>
HTML5 Input Types
date
date-­‐time
email
tel
range
search
time
url
Pro tip: HTML5 Search Input
<form>
    <input  type="search"  name="q"  
placeholder="Search"  autofocus>
    <input  type="submit"  value="Search">
</form>
HTML5 Registration Form
<form>
    <input  name="Full  Name"  
placeholder="Enter  your  full  name"  
autofocus  required>
    <input  type="email"  name="Email"  
placeholder="Enter  your  email  address"  
required>
    <input  type="url"  name="URL"  
placeholder="What’s  your  website  
address?">
    <input  type="submit"  value="Register">
</form>
http://bit.ly/HTML5_mobile
        Email                URL
Gettin’ Sexy with CSS3
      It’s the New Photoshop
.btn-­‐fancy  {}




            Fancy Button
Border Radius
border:1px  solid  #bc6647;  border-­‐radius:
6px;  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐
border-­‐radius:6px;




            Fancy Button
Box Shadow
-­‐moz-­‐box-­‐shadow:  4px  4px  8px  #a2a2a2;  
-­‐webkit-­‐box-­‐shadow:  4px  4px  8px  #a2a2a2;
box-­‐shadow:  4px  4px  8px  #a2a2a2;  




            Fancy Button
TExt Shadow
text-­‐shadow:  1px  1px  0  #d2572b;}




           Fancy Button
Background Gradient
background:  #e67646;  background:-­‐moz-­‐
linear-­‐gradient(center  top,  #eb9972,  
#e67646  55%,  #d2572b);  background:-­‐
webkit-­‐gradient(linear,  0%  0%,  0%  100%,  
from(#eb9972),  color-­‐stop(0.55,  #e67646),  
to(#d2572b));


           Fancy Button
Anatomy of a CSS3 Button
.btn-­‐primary  {padding:  .5em  .9em;  background:  
#e67646;  background:-­‐webkit-­‐gradient(linear,  0%  
0%,  0%  100%,  from(#eb9972),  color-­‐stop(0.55,  
#e67646),  to(#d2572b));  background:-­‐moz-­‐linear-­‐
gradient(center  top,  #eb9972,  #e67646  55%,  
#d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐
border-­‐radius:6px;  border-­‐radius:6px;  border:1px  
solid  #bc6647;  -­‐moz-­‐box-­‐shadow:0  0  0;  -­‐webkit-­‐
box-­‐shadow:0  0  0;  font-­‐size:  1.375em;  font-­‐
weight:  500;  color:  #fff;  text-­‐shadow:  1px  1px  0  
#d2572b;}
Anatomy of a CSS3 Button
.btn-­‐primary  {padding:  .5em  .9em;  background:  
#e67646;  background:-­‐webkit-­‐gradient(linear,  0%  
0%,  0%  100%,  from(#eb9972),  color-­‐stop(0.55,  
#e67646),  to(#d2572b));  background:-­‐moz-­‐linear-­‐
gradient(center  top,  #eb9972,  #e67646  55%,  
#d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐
border-­‐radius:6px;  border-­‐radius:6px;  border:1px  
solid  #bc6647;  -­‐moz-­‐box-­‐shadow:0  0  0;  -­‐webkit-­‐
box-­‐shadow:0  0  0;  font-­‐size:  1.375em;  font-­‐
weight:  500;  color:  #fff;  text-­‐shadow:  1px  1px  0  
#d2572b;}
Anatomy of a CSS3 Button
.btn-­‐primary  {padding:  .5em  .9em;  background:  
#e67646;  background:-­‐webkit-­‐gradient(linear,  0%  
0%,  0%  100%,  from(#eb9972),  color-­‐stop(0.55,  
#e67646),  to(#d2572b));  background:-­‐moz-­‐linear-­‐
gradient(center  top,  #eb9972,  #e67646  55%,  
#d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐
border-­‐radius:6px;  border-­‐radius:6px;  border:1px  
solid  #bc6647;  -­‐moz-­‐box-­‐shadow:0  0  0;  -­‐webkit-­‐
box-­‐shadow:0  0  0;  font-­‐size:  1.375em;  font-­‐
weight:  500;  color:  #fff;  text-­‐shadow:  1px  1px  0  
#d2572b;}
Anatomy of a CSS3 Button
.btn-­‐primary  {padding:  .5em  .9em;  background:  
#e67646;  background:-­‐webkit-­‐gradient(linear,  0%  
0%,  0%  100%,  from(#eb9972),  color-­‐stop(0.55,  
#e67646),  to(#d2572b));  background:-­‐moz-­‐linear-­‐
gradient(center  top,  #eb9972,  #e67646  55%,  
#d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐
border-­‐radius:6px;  border-­‐radius:6px;  border:1px  
solid  #bc6647;  -­‐moz-­‐box-­‐shadow:0  0  0;  -­‐webkit-­‐
box-­‐shadow:0  0  0;  font-­‐size:  1.375em;  font-­‐
weight:  500;  color:  #fff;  text-­‐shadow:  1px  1px  0  
#d2572b;}
CSS3 RGBA and Opacity
rgba  (238,88,0,1.0);
#d2572b;  opacity:1.0;


rgba  (238,88,0,0.5);
#d2572b;  opacity:0.5;
Hit me with some jQuery!
Simple JavaScript Function

 $('#PostMessage').click(function() {

 
 $('tr.new-comment').fadeIn();

 
 return false;

 });
Double Time

 $('#PostMessage').click(function() {

 
 $('#CommentForm').hide();

 
 $('tr.new-comment').fadeIn();

 
 return false;

 });
Resources
HTML5 Spec        http://www.w3.org/TR/html5/  

CSS3 Spec         http://www.w3.org/Style/CSS/current-­‐work.en.html  

HTML5SHIV         http://html5shiv.googlecode.com/svn/trunk/html5.js


Modernizer        http://modernizr.com/  


Dive Into HTML5   http://diveintohtml5.org/


Reframer          http://reframerapp.com  
http://bit.ly/protobk

                                                                           Russ Unger
                                                                           Todd Zaki Warfel




                           Guerrilla
                           UX
                           Research
                           Methods
                           Thrifty, Fast, and Effective User Experience Research Techniques




on The Twitters
@zakiwarfel

Contenu connexe

Tendances

HTML & CSS Workshop Notes
HTML & CSS Workshop NotesHTML & CSS Workshop Notes
HTML & CSS Workshop NotesPamela Fox
 
CSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreCSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreRuss Weakley
 
Try Web Components
Try Web ComponentsTry Web Components
Try Web Components拓樹 谷
 
An Intro to HTML & CSS
An Intro to HTML & CSSAn Intro to HTML & CSS
An Intro to HTML & CSSShay Howe
 
モダンなCSS設計パターンを考える
モダンなCSS設計パターンを考えるモダンなCSS設計パターンを考える
モダンなCSS設計パターンを考える拓樹 谷
 
Html&Browser
Html&BrowserHtml&Browser
Html&BrowserAlipay
 
From PSD to WordPress Theme: Bringing designs to life
From PSD to WordPress Theme: Bringing designs to lifeFrom PSD to WordPress Theme: Bringing designs to life
From PSD to WordPress Theme: Bringing designs to lifeDerek Christensen
 
How to create a basic template
How to create a basic templateHow to create a basic template
How to create a basic templatevathur
 
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)Nicholas Zakas
 
Getting Started with DOM
Getting Started with DOMGetting Started with DOM
Getting Started with DOMHernan Mammana
 
Efficient, maintainable CSS
Efficient, maintainable CSSEfficient, maintainable CSS
Efficient, maintainable CSSRuss Weakley
 
Basics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPointBasics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPointSahil Gandhi
 
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018Esteve Castells
 
Front End Good Practices
Front End Good PracticesFront End Good Practices
Front End Good PracticesHernan Mammana
 
LESS is More
LESS is MoreLESS is More
LESS is Morejsmith92
 
CSS3 - is everything we used to do wrong?
CSS3 - is everything we used to do wrong? CSS3 - is everything we used to do wrong?
CSS3 - is everything we used to do wrong? Russ Weakley
 

Tendances (18)

HTML & CSS Workshop Notes
HTML & CSS Workshop NotesHTML & CSS Workshop Notes
HTML & CSS Workshop Notes
 
CSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreCSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and more
 
HTML5 & CSS3 Flag
HTML5 & CSS3 FlagHTML5 & CSS3 Flag
HTML5 & CSS3 Flag
 
Try Web Components
Try Web ComponentsTry Web Components
Try Web Components
 
An Intro to HTML & CSS
An Intro to HTML & CSSAn Intro to HTML & CSS
An Intro to HTML & CSS
 
HTML5 Essentials
HTML5 EssentialsHTML5 Essentials
HTML5 Essentials
 
モダンなCSS設計パターンを考える
モダンなCSS設計パターンを考えるモダンなCSS設計パターンを考える
モダンなCSS設計パターンを考える
 
Html&Browser
Html&BrowserHtml&Browser
Html&Browser
 
From PSD to WordPress Theme: Bringing designs to life
From PSD to WordPress Theme: Bringing designs to lifeFrom PSD to WordPress Theme: Bringing designs to life
From PSD to WordPress Theme: Bringing designs to life
 
How to create a basic template
How to create a basic templateHow to create a basic template
How to create a basic template
 
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
 
Getting Started with DOM
Getting Started with DOMGetting Started with DOM
Getting Started with DOM
 
Efficient, maintainable CSS
Efficient, maintainable CSSEfficient, maintainable CSS
Efficient, maintainable CSS
 
Basics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPointBasics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPoint
 
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
 
Front End Good Practices
Front End Good PracticesFront End Good Practices
Front End Good Practices
 
LESS is More
LESS is MoreLESS is More
LESS is More
 
CSS3 - is everything we used to do wrong?
CSS3 - is everything we used to do wrong? CSS3 - is everything we used to do wrong?
CSS3 - is everything we used to do wrong?
 

Similaire à Progressive Prototyping w/HTML5, CSS3 and jQuery

Html5 Brown Bag
Html5 Brown BagHtml5 Brown Bag
Html5 Brown Bagstuplum
 
Web Design Bootcamp - Day1
Web Design Bootcamp - Day1Web Design Bootcamp - Day1
Web Design Bootcamp - Day1Aslam Najeebdeen
 
Front end full stack development module 1pptx
Front end full stack development module 1pptxFront end full stack development module 1pptx
Front end full stack development module 1pptxMaruthiPrasad96
 
A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3Darren Wood
 
Beginner & Intermediate Guide to HTML5/CSS3 In Drupal
Beginner & Intermediate Guide to HTML5/CSS3 In DrupalBeginner & Intermediate Guide to HTML5/CSS3 In Drupal
Beginner & Intermediate Guide to HTML5/CSS3 In DrupalMediacurrent
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is nowGonzalo Cordero
 
Ease into HTML5 and CSS3
Ease into HTML5 and CSS3Ease into HTML5 and CSS3
Ease into HTML5 and CSS3Brian Moon
 
5 ways to embrace HTML5 today
5 ways to embrace HTML5 today5 ways to embrace HTML5 today
5 ways to embrace HTML5 todayDaniel Ryan
 
Modifying your themes design - Learning CSS - Atlanta WordPress users group
Modifying your themes design - Learning CSS - Atlanta WordPress users groupModifying your themes design - Learning CSS - Atlanta WordPress users group
Modifying your themes design - Learning CSS - Atlanta WordPress users groupEvan Mullins
 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentEvan Mullins
 
C3 웹기술로만드는모바일앱
C3 웹기술로만드는모바일앱C3 웹기술로만드는모바일앱
C3 웹기술로만드는모바일앱NAVER D2
 
It's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking ModernizrIt's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking ModernizrMichael Enslow
 

Similaire à Progressive Prototyping w/HTML5, CSS3 and jQuery (20)

Html5 ux london
Html5 ux londonHtml5 ux london
Html5 ux london
 
Html5 Brown Bag
Html5 Brown BagHtml5 Brown Bag
Html5 Brown Bag
 
Web Design Bootcamp - Day1
Web Design Bootcamp - Day1Web Design Bootcamp - Day1
Web Design Bootcamp - Day1
 
Front end full stack development module 1pptx
Front end full stack development module 1pptxFront end full stack development module 1pptx
Front end full stack development module 1pptx
 
A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3
 
Html5
Html5Html5
Html5
 
Beginner & Intermediate Guide to HTML5/CSS3 In Drupal
Beginner & Intermediate Guide to HTML5/CSS3 In DrupalBeginner & Intermediate Guide to HTML5/CSS3 In Drupal
Beginner & Intermediate Guide to HTML5/CSS3 In Drupal
 
Html5
Html5Html5
Html5
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is now
 
Ease into HTML5 and CSS3
Ease into HTML5 and CSS3Ease into HTML5 and CSS3
Ease into HTML5 and CSS3
 
5 ways to embrace HTML5 today
5 ways to embrace HTML5 today5 ways to embrace HTML5 today
5 ways to embrace HTML5 today
 
Modifying your themes design - Learning CSS - Atlanta WordPress users group
Modifying your themes design - Learning CSS - Atlanta WordPress users groupModifying your themes design - Learning CSS - Atlanta WordPress users group
Modifying your themes design - Learning CSS - Atlanta WordPress users group
 
Html5 public
Html5 publicHtml5 public
Html5 public
 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
 
C3 웹기술로만드는모바일앱
C3 웹기술로만드는모바일앱C3 웹기술로만드는모바일앱
C3 웹기술로만드는모바일앱
 
Intro to HTML 5 / CSS 3
Intro to HTML 5 / CSS 3Intro to HTML 5 / CSS 3
Intro to HTML 5 / CSS 3
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
html5_css3
html5_css3html5_css3
html5_css3
 
It's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking ModernizrIt's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking Modernizr
 

Dernier

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 

Dernier (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

Progressive Prototyping w/HTML5, CSS3 and jQuery

  • 1. PROTOTYPING with TODD ZAKI WARFEL / UXLISBON /#HTML5
  • 4. Guiding Principles The Best Tool is the one you know
  • 6. HTMl as a prototyping tool Pros and Cons
  • 7. About that code thing Production vs. Non-production
  • 9. HTML Doctypes <!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  XHTML  1.1//EN"   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  XHTML  1.0  Strict//EN"   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-­‐strict.dtd"> <!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  HTML  4.01  Transitional//EN"      "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  XHTML  1.0  Frameset//EN"   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-­‐frameset.dtd"> <!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  HTML  4.01  Strict//EN"      "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE  html  PUBLIC  "-­‐//W3C//DTD  HTML  4.01  Transitional//EN"      "http://www.w3.org/TR/html4/loose.dtd">
  • 11. HTML Tags HTML5 Tags <div> <article> <p> <aside> <dl>,  <dt>,  <dd> <section> <ol>,  <ul>,  <li> <header>,  <hgroup> <fieldset> <nav> <input> <footer> <datalist> <progress> <time>
  • 12. HTML helps you think about the Organization / Structure DESIGN
  • 13. html page structure A typical HTML page will div  id=header use divs with IDs and Classes to create the div  id=nav structure. div  id=content div  id=   sidebar div  id=footer
  • 14. HTML5 page structure HTML5 gives semantic meaning to these structures, header which previously required IDs and Classes. section/article aside footer
  • 15. Pro tip: Update your reset.css article,  aside,  footer,  header,   hgroup,  nav,  section   {display:block;  margin:0;  padding: 0;  border:0;  font-­‐weight:inherit;   font-­‐style:inherit;  font-­‐size: 100%;  font-­‐family:inherit;   vertical-­‐align:baseline;  list-­‐ style:none;  outline:none}
  • 16. Pro tip: Update your reset.css article,  aside,  footer,  header,   hgroup,  nav,  section   {display:block;  margin:0;  padding: 0;  border:0;  font-­‐weight:inherit;   font-­‐style:inherit;  font-­‐size: 100%;  font-­‐family:inherit;   vertical-­‐align:baseline;  list-­‐ style:none;  outline:none}
  • 17. html5 Recursiveness HTML5 allows for multiple header sections and articles within a single page. Each section/ nav article can have its own header, footer, aside and section aside nav. header article footer footer
  • 18. html5 Recursiveness HTML5 allows for multiple header sections and articles within a single page. Each section/ nav article can have its own header, footer, aside and section aside nav. header article footer footer
  • 19. html5 Recursiveness HTML5 allows for multiple header sections and articles within a single page. Each section/ nav article can have its own header, footer, aside and section aside nav. header article footer footer
  • 20. What about the problem child? IE needs a little help from our friend JavaScript. Modernizer/HTML5shiv to the rescue. http://modernizr.com http:// html5shiv.googlecode.co m/svn/trunk/html5.js
  • 21. Pro tip: Smack IE Into Shape <!DOCTYPE  html> <html> <head> <!-­‐-­‐[if  lt  IE  9]> <script  src="http://html5shiv.googlecode.com/svn/ trunk/html5.js"  type="text/javascript"></script> <![endif]-­‐-­‐> </head>
  • 22.
  • 23.
  • 25. Pro tip: HTML5 Search Input <form>    <input  type="search"  name="q"   placeholder="Search"  autofocus>    <input  type="submit"  value="Search"> </form>
  • 26. HTML5 Registration Form <form>    <input  name="Full  Name"   placeholder="Enter  your  full  name"   autofocus  required>    <input  type="email"  name="Email"   placeholder="Enter  your  email  address"   required>    <input  type="url"  name="URL"   placeholder="What’s  your  website   address?">    <input  type="submit"  value="Register"> </form>
  • 28. Gettin’ Sexy with CSS3 It’s the New Photoshop
  • 29. .btn-­‐fancy  {} Fancy Button
  • 30. Border Radius border:1px  solid  #bc6647;  border-­‐radius: 6px;  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐ border-­‐radius:6px; Fancy Button
  • 31. Box Shadow -­‐moz-­‐box-­‐shadow:  4px  4px  8px  #a2a2a2;   -­‐webkit-­‐box-­‐shadow:  4px  4px  8px  #a2a2a2; box-­‐shadow:  4px  4px  8px  #a2a2a2;   Fancy Button
  • 32. TExt Shadow text-­‐shadow:  1px  1px  0  #d2572b;} Fancy Button
  • 33. Background Gradient background:  #e67646;  background:-­‐moz-­‐ linear-­‐gradient(center  top,  #eb9972,   #e67646  55%,  #d2572b);  background:-­‐ webkit-­‐gradient(linear,  0%  0%,  0%  100%,   from(#eb9972),  color-­‐stop(0.55,  #e67646),   to(#d2572b)); Fancy Button
  • 34. Anatomy of a CSS3 Button .btn-­‐primary  {padding:  .5em  .9em;  background:   #e67646;  background:-­‐webkit-­‐gradient(linear,  0%   0%,  0%  100%,  from(#eb9972),  color-­‐stop(0.55,   #e67646),  to(#d2572b));  background:-­‐moz-­‐linear-­‐ gradient(center  top,  #eb9972,  #e67646  55%,   #d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐ border-­‐radius:6px;  border-­‐radius:6px;  border:1px   solid  #bc6647;  -­‐moz-­‐box-­‐shadow:0  0  0;  -­‐webkit-­‐ box-­‐shadow:0  0  0;  font-­‐size:  1.375em;  font-­‐ weight:  500;  color:  #fff;  text-­‐shadow:  1px  1px  0   #d2572b;}
  • 35. Anatomy of a CSS3 Button .btn-­‐primary  {padding:  .5em  .9em;  background:   #e67646;  background:-­‐webkit-­‐gradient(linear,  0%   0%,  0%  100%,  from(#eb9972),  color-­‐stop(0.55,   #e67646),  to(#d2572b));  background:-­‐moz-­‐linear-­‐ gradient(center  top,  #eb9972,  #e67646  55%,   #d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐ border-­‐radius:6px;  border-­‐radius:6px;  border:1px   solid  #bc6647;  -­‐moz-­‐box-­‐shadow:0  0  0;  -­‐webkit-­‐ box-­‐shadow:0  0  0;  font-­‐size:  1.375em;  font-­‐ weight:  500;  color:  #fff;  text-­‐shadow:  1px  1px  0   #d2572b;}
  • 36. Anatomy of a CSS3 Button .btn-­‐primary  {padding:  .5em  .9em;  background:   #e67646;  background:-­‐webkit-­‐gradient(linear,  0%   0%,  0%  100%,  from(#eb9972),  color-­‐stop(0.55,   #e67646),  to(#d2572b));  background:-­‐moz-­‐linear-­‐ gradient(center  top,  #eb9972,  #e67646  55%,   #d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐ border-­‐radius:6px;  border-­‐radius:6px;  border:1px   solid  #bc6647;  -­‐moz-­‐box-­‐shadow:0  0  0;  -­‐webkit-­‐ box-­‐shadow:0  0  0;  font-­‐size:  1.375em;  font-­‐ weight:  500;  color:  #fff;  text-­‐shadow:  1px  1px  0   #d2572b;}
  • 37. Anatomy of a CSS3 Button .btn-­‐primary  {padding:  .5em  .9em;  background:   #e67646;  background:-­‐webkit-­‐gradient(linear,  0%   0%,  0%  100%,  from(#eb9972),  color-­‐stop(0.55,   #e67646),  to(#d2572b));  background:-­‐moz-­‐linear-­‐ gradient(center  top,  #eb9972,  #e67646  55%,   #d2572b);  -­‐moz-­‐border-­‐radius:6px;  -­‐webkit-­‐ border-­‐radius:6px;  border-­‐radius:6px;  border:1px   solid  #bc6647;  -­‐moz-­‐box-­‐shadow:0  0  0;  -­‐webkit-­‐ box-­‐shadow:0  0  0;  font-­‐size:  1.375em;  font-­‐ weight:  500;  color:  #fff;  text-­‐shadow:  1px  1px  0   #d2572b;}
  • 38. CSS3 RGBA and Opacity rgba  (238,88,0,1.0); #d2572b;  opacity:1.0; rgba  (238,88,0,0.5); #d2572b;  opacity:0.5;
  • 39.
  • 40. Hit me with some jQuery!
  • 41. Simple JavaScript Function $('#PostMessage').click(function() { $('tr.new-comment').fadeIn(); return false; });
  • 42. Double Time $('#PostMessage').click(function() { $('#CommentForm').hide(); $('tr.new-comment').fadeIn(); return false; });
  • 43. Resources HTML5 Spec http://www.w3.org/TR/html5/   CSS3 Spec http://www.w3.org/Style/CSS/current-­‐work.en.html   HTML5SHIV http://html5shiv.googlecode.com/svn/trunk/html5.js Modernizer http://modernizr.com/   Dive Into HTML5 http://diveintohtml5.org/ Reframer http://reframerapp.com  
  • 44. http://bit.ly/protobk Russ Unger Todd Zaki Warfel Guerrilla UX Research Methods Thrifty, Fast, and Effective User Experience Research Techniques on The Twitters @zakiwarfel