<!doctype html><html><head><meta charset=utf8><meta name=viewport content="width=device-width,initial-scale=1,viewport-fit=cover"><style>:root{color-scheme:light;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}html{scroll-padding-top:env(safe-area-inset-top,0px)}body{margin:0;padding:0;font:14px -apple-system,BlinkMacSystemFont,sans-serif;background:#fff;color:#000}img{max-width:100%}[hidden]:not([hidden=until-found i]){display:none!important}</style></head><body>
<title>UI Design Lectures 1–4</title>
<meta name="claude:viewport-fit-sides" content="cover">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&family=JetBrains+Mono:wght@500&display=swap">
<style>
/* Layout: sticky tab rail over a single reading column (~760px); diagrams rebuilt as wrapping flow chips */
:root{
  /* single deliberate dark theme */
  --bg:#0b1018; --surface:#141b26; --sunk:#1c2532; --fg:#e4e9f1; --muted:#97a3b6; --line:#273244;
  --accent:#7d9cf0; --accent-soft:#1b2745; --tip:#f0b25e; --tip-soft:#33270f; --good:#5fc79a; --good-soft:#12301f; --bad:#f08a7f; --bad-soft:#371a17;
  --b1:#7d9cf0; --b2:#5fc79a; --b3:#f0b25e; --b4:#c79af0; --b5:#f08a7f; --b6:#5cc8d6;
  color-scheme:dark;
  --f-display:"Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body:"Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --f-mono:"JetBrains Mono", ui-monospace, Consolas, monospace;
}

*{box-sizing:border-box}
[hidden]{display:none!important}
body{background:var(--bg);color:var(--fg);font:400 17px/1.6 var(--f-body);margin:0}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--surface)}
.wrap{max-width:800px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
h1,h2,h3{font-family:var(--f-display);text-wrap:balance;line-height:1.15;margin:0}
h1{font-size:clamp(1.9rem,5vw,2.6rem);font-weight:800;letter-spacing:-.01em}
h2{font-size:1.55rem;font-weight:800;padding-top:8px}
h3{font-size:1.15rem;font-weight:600}
p{margin:0}
.mono,.eyebrow{font-family:var(--f-mono);font-size:.74rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.ar{font-family:"Noto Naskh Arabic","Segoe UI",Tahoma,sans-serif;direction:rtl;unicode-bidi:isolate;color:var(--muted);font-size:.95em}

header.top{background:var(--surface);border-bottom:1px solid var(--line)}
header.top .wrap{padding-block:28px 18px;display:grid;gap:8px}
header.top .who{color:var(--muted)}

nav.tabs{position:sticky;top:env(safe-area-inset-top,0px);z-index:5;background:var(--surface);border-bottom:1px solid var(--line)}
nav.tabs .wrap{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
nav.tabs button{font:600 .95rem var(--f-body);color:var(--muted);background:none;border:0;border-bottom:3px solid transparent;padding:12px 12px 10px;cursor:pointer;white-space:nowrap}
nav.tabs button span{font-family:var(--f-mono);font-size:.72rem;margin-right:6px}
nav.tabs button[aria-selected="true"]{color:var(--accent);border-bottom-color:var(--accent)}
nav.tabs button:focus-visible,summary:focus-visible,.tool:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

main .wrap{padding-block:28px 64px}
section.panel{display:grid;gap:32px}
.sec{display:grid;gap:14px}
.sec>p,.sec li{max-width:68ch}
ul,ol{margin:0;padding-left:1.25em;display:grid;gap:6px}
strong{font-weight:700}
.lead{font-size:1.08rem}

.recap{background:var(--accent-soft);border-radius:10px;padding:18px 20px;display:grid;gap:10px}
.recap h3{color:var(--accent)}
.note{border-left:3px solid var(--tip);background:var(--tip-soft);padding:10px 14px;border-radius:0 8px 8px 0;font-size:.96rem}
.note b{color:var(--tip);font-family:var(--f-mono);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;display:block;margin-bottom:2px}

.grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:14px 16px;display:grid;gap:6px;align-content:start;min-width:0}
.card h3{font-size:1.02rem}
.card .tag{font-family:var(--f-mono);font-size:.7rem;color:var(--accent);text-transform:uppercase;letter-spacing:.06em}
.card p,.card li{font-size:.95rem}
.ex{color:var(--muted);font-size:.9rem}

.tbl{overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
table{border-collapse:collapse;width:100%;min-width:520px;font-size:.93rem}
th,td{text-align:left;vertical-align:top;padding:9px 12px;border-bottom:1px solid var(--line)}
thead th{background:var(--sunk);font-family:var(--f-mono);font-size:.72rem;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
tbody tr:last-child td{border-bottom:0}
td:first-child{font-weight:600}

.pc{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:560px){.pc{grid-template-columns:1fr}}
.pro,.con{border-radius:10px;padding:14px 16px;display:grid;gap:8px;align-content:start}
.pro{background:var(--good-soft)} .con{background:var(--bad-soft)}
.pro h3{color:var(--good)} .con h3{color:var(--bad)}
.pro li,.con li{font-size:.95rem}

/* diagrams */
.fig{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:16px;display:grid;gap:10px}
.fig figcaption{font-family:var(--f-mono);font-size:.72rem;color:var(--muted);letter-spacing:.04em}
figure{margin:0}
.flow{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.node{border:1.5px solid var(--accent);color:var(--fg);background:var(--accent-soft);border-radius:999px;padding:5px 12px;font-size:.88rem;font-weight:600}
.node.out{border-style:dashed;background:transparent;border-radius:6px;font-weight:400}
.arr{color:var(--accent);font-weight:700}
.loop{font-family:var(--f-mono);font-size:.74rem;color:var(--tip)}
.fall{display:grid;gap:6px}
.fall .node{justify-self:start}
.fall .node:nth-child(2){margin-left:8%} .fall .node:nth-child(3){margin-left:16%} .fall .node:nth-child(4){margin-left:24%} .fall .node:nth-child(5){margin-left:32%}
.cols{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}
.stack{display:grid;gap:6px;justify-items:start}
@media (max-width:560px){.cols{grid-template-columns:1fr}}

.mani{display:grid;gap:6px}
.mani div{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;font-size:.95rem}
.mani .l{font-weight:700;color:var(--accent);text-align:right}
.mani .r{color:var(--muted)}
.mani .o{font-family:var(--f-mono);font-size:.7rem;color:var(--muted)}

.gloss{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:4px 16px;font-size:.92rem}
.gloss div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dotted var(--line);padding:4px 0}

/* Q&A */
details{background:var(--surface);border:1px solid var(--line);border-radius:10px}
details+details{margin-top:8px}
summary{cursor:pointer;padding:12px 16px;font-weight:600;list-style:none;display:flex;gap:10px}
summary::-webkit-details-marker{display:none}
summary::before{content:"+";font-family:var(--f-mono);color:var(--accent);width:1ch;flex:none}
details[open] summary::before{content:"−"}
details .ans{padding:0 16px 14px 36px;display:grid;gap:8px;font-size:.96rem}
.src{font-family:var(--f-mono);font-size:.68rem;color:var(--tip);margin-left:auto;white-space:nowrap;align-self:center}
.tools{display:flex;gap:8px;flex-wrap:wrap}
.tool{font:600 .85rem var(--f-body);background:var(--surface);color:var(--accent);border:1px solid var(--accent);border-radius:999px;padding:6px 14px;cursor:pointer}
.tool:hover{background:var(--accent-soft)}
.search{font:inherit;width:100%;max-width:440px;padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--fg)}
.search:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.search::placeholder{color:var(--muted)}
/* FAQ answer parts + understanding tracker */
.ans .short{font-weight:700;color:var(--fg);font-size:1rem}
.part{display:grid;gap:3px;padding-left:12px;border-left:2px solid var(--accent-soft)}
.pl{font-family:var(--f-mono);font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.part.eg{border-left-color:var(--good-soft)} .part.eg .pl{color:var(--good)}
.part.tip{border-left-color:var(--tip-soft)} .part.tip .pl{color:var(--tip)}
.ans code{font-family:var(--f-mono);font-size:.85em;background:var(--sunk);padding:1px 5px;border-radius:4px}
.got{display:flex;gap:8px;align-items:center;font-size:.9rem;color:var(--muted);cursor:pointer;width:max-content;max-width:100%}
.got input{accent-color:var(--good);width:18px;height:18px;margin:0}
details.done>summary{color:var(--muted)}
details.done>summary::after{content:"✓ understood";font-family:var(--f-mono);font-size:.68rem;color:var(--good);margin-left:auto;white-space:nowrap;align-self:center}
.progwrap{display:grid;gap:6px;max-width:440px}
.proghead{display:flex;justify-content:space-between;gap:12px}
.prog{height:8px;background:var(--sunk);border-radius:99px;overflow:hidden}
.prog i{display:block;height:100%;width:0;background:var(--good);transition:width .3s}
/* mind maps: left-to-right tree, lines drawn with pseudo-elements, branch colour inherited via --c */
.mmx{overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:18px}
.mmx:fullscreen{padding:32px;background:var(--bg)}
.mm,.mm ul{list-style:none;margin:0;padding:0}
.mm ul{display:flex;flex-direction:column;padding-left:22px;position:relative}
.mm li{display:flex;align-items:center;position:relative;padding:3px 0 3px 22px}
.mm>li{padding-left:0}
.mm ul::before,.mm ul>li::after{content:"";position:absolute;left:0;top:50%;width:22px;border-top:1.5px solid var(--c,var(--muted))}
.mm ul>li::before{content:"";position:absolute;left:0;top:0;bottom:0;border-left:1.5px solid var(--c,var(--muted))}
.mm ul>li:first-child::before{top:50%}
.mm ul>li:last-child::before{bottom:50%}
.mm ul>li:only-child::before{display:none}
.mm .n{font:600 .85rem/1.3 var(--f-body);border-radius:8px;padding:5px 10px;width:max-content;max-width:250px;border:1.5px solid var(--c,var(--accent));background:var(--surface);color:var(--fg);text-align:left;flex:none}
.mm .n i{font-style:normal;font-weight:400;color:var(--muted)}
.mm>li>.n{background:var(--accent);border-color:var(--accent);color:var(--bg);font:800 1.1rem/1.2 var(--f-display);padding:12px 16px;border-radius:12px;max-width:190px}
.mm>li>ul>li>.n{background:var(--c);color:var(--bg);font-size:.92rem}
.mm>li>ul>li>.n i{color:inherit}
.mm ul ul ul .n{font-weight:400;font-size:.8rem;border-width:1px;background:var(--sunk)}
.mm button.n{cursor:pointer}
.mm .shut>ul{display:none}
.mm .shut>.n::after{content:" +" attr(data-k);font-family:var(--f-mono);font-size:.7rem;opacity:.8}
.mm>li>ul>li:nth-child(6n+1){--c:var(--b1)} .mm>li>ul>li:nth-child(6n+2){--c:var(--b2)} .mm>li>ul>li:nth-child(6n+3){--c:var(--b3)}
.mm>li>ul>li:nth-child(6n+4){--c:var(--b4)} .mm>li>ul>li:nth-child(6n+5){--c:var(--b5)} .mm>li>ul>li:nth-child(6n){--c:var(--b6)}
@media (prefers-reduced-motion:no-preference){ section.panel{animation:in .25s ease-out} @keyframes in{from{transform:translateY(4px)}to{transform:none}} }
</style>

<header class="top"><div class="wrap">
  <span class="eyebrow">User Interface Design · Faculty of Artificial Intelligence, ERU</span>
  <h1>Lectures 1–4 Study Summary</h1>
  <p class="who">Dr. Ahmed Moawad · Ch. 1 UX Fundamentals · Ch. 2 UX Research · Ch. 3 Empathize, Define &amp; Ideate</p>
</div></header>

<nav class="tabs" aria-label="Lectures"><div class="wrap" role="tablist">
  <button role="tab" data-t="l1" aria-selected="true"><span>01–02</span>UX Fundamentals</button>
  <button role="tab" data-t="l2" aria-selected="false"><span>03</span>UX Research</button>
  <button role="tab" data-t="l3" aria-selected="false"><span>04</span>Empathize · Define · Ideate</button>
  <button role="tab" data-t="faq" aria-selected="false"><span>?</span>FAQ</button>
  <button role="tab" data-t="review" aria-selected="false"><span>✓</span>Review &amp; Exam Q's</button>
</div></nav>

<main><div class="wrap">

<!-- ===================== LECTURES 1 & 2 ===================== -->
<section class="panel" id="l1" role="tabpanel">
  <div class="recap">
    <h3>Lectures 1 &amp; 2 in one minute</h3>
    <ul>
      <li><strong>UX = the relationship between a product and the person using it.</strong> UX asks "are we solving the right problem?" UI asks "is the interface clear and easy to use?"</li>
      <li>Don Norman coined "User Experience" in <strong>1993</strong> as Apple's first User Experience Architect.</li>
      <li>UX designers make products that are <strong>Useful, Usable, Enjoyable, Accessible</strong>.</li>
      <li>3 frameworks: <strong>User-Centered Design</strong>, <strong>Design Thinking</strong> (Empathize → Define → Ideate → Prototype → Test), <strong>Double Diamond</strong>. No single right one: UX is a soft science.</li>
      <li><strong>Design Sprint</strong>: 5 phases over 5 full 8-hour days (Understand, Ideate, Decide, Prototype, Validate).</li>
      <li>The UX process has 5 phases: <strong>Research → Analysis → Design → Prototype → Validation</strong>, each with its own deliverables.</li>
      <li>Key deliverables: stakeholder interviews, personas, journey maps, empathy maps (Says/Thinks/Does/Feels), problem statements, user stories, sitemaps, user flows, wireframes, prototypes, usability tests.</li>
    </ul>
  </div>
  <div class="sec">
    <span class="eyebrow">Mind map</span>
    <h2>Lectures 1 &amp; 2 at a glance</h2>
    <div class="tools"><button class="tool" data-mm="collapse">Main branches only</button><button class="tool" data-mm="expand">Expand all</button><button class="tool" data-mm="full">Full screen</button></div>
    <div class="mmx"><ul class="mm" data-src="mm1"></ul></div>
    <p class="ex">Click any branch to fold or unfold it. On a phone, scroll sideways inside the map.</p>
  </div>

  <div class="sec">
    <span class="eyebrow">1.1 · Definitions</span>
    <h2>UX vs UI</h2>
    <div class="tbl"><table>
      <thead><tr><th>UX Design</th><th>UI Design</th></tr></thead>
      <tbody>
        <tr><td>Focuses on the overall user experience</td><td style="font-weight:400">Focuses on the user interface</td></tr>
        <tr><td>User needs &amp; problems</td><td style="font-weight:400">Visual &amp; interactive elements</td></tr>
        <tr><td>Research &amp; user flows</td><td style="font-weight:400">Layout, typography &amp; color</td></tr>
        <tr><td>Usability &amp; testing</td><td style="font-weight:400">Screens &amp; interface components</td></tr>
      </tbody>
    </table></div>
    <div class="pc">
      <div class="pro"><h3>UX asks</h3><p>Are we solving the <strong>right problem</strong>?</p></div>
      <div class="con" style="background:var(--accent-soft)"><h3 style="color:var(--accent)">UI asks</h3><p>Is the interface <strong>clear and easy to use</strong>?</p></div>
    </div>
    <div class="note"><b>History</b>Don Norman, "the godfather of UX and user-centered design", coined the term <strong>User Experience in 1993</strong>, becoming the first "User Experience Architect" at <strong>Apple</strong>. User-centered design was once considered fringe.</div>
  </div>

  <div class="sec">
    <span class="eyebrow">1.2 · What is UX design?</span>
    <h2>What is user experience design?</h2>
    <p class="lead">"People ignore design that ignores people." <span class="ex">(Frank Chimero)</span></p>
    <ul>
      <li><strong>User experience</strong> is the relationship between a product and the person using it.</li>
      <li><strong>UX design</strong> focuses on building products someone can <strong>easily use and enjoy using</strong>.</li>
      <li>UX design is about <strong>supporting the user's needs</strong>.</li>
    </ul>
    <div class="grid">
      <div class="card"><span class="tag">Example · Ketchup bottle</span><p><strong>Before:</strong> a glass bottle. You hit the bottom and got either nothing or too much.</p><p><strong>After:</strong> a plastic squeezable bottle, upside down. Easier to use and you control how much comes out.</p></div>
      <div class="card"><span class="tag">Example · Responsive website</span><p><strong>Old site:</strong> OK on desktop, bad on tablet, worse on phone: doesn't scale, tiny text, graphics not adjusted, hard to navigate.</p><p><strong>New responsive site:</strong> scales text &amp; graphics, fills every screen, easy to read and navigate.</p></div>
    </div>
  </div>

  <div class="sec">
    <span class="eyebrow">1.3 · The job</span>
    <h2>What UX designers do</h2>
    <p>They create physical and digital products that are:</p>
    <div class="grid">
      <div class="card"><span class="tag">Useful</span><p>Solves a real user problem.</p></div>
      <div class="card"><span class="tag">Usable</span><p>Easy and clear to use.</p></div>
      <div class="card"><span class="tag">Enjoyable</span><p>Pleasant; people want to use it.</p></div>
      <div class="card"><span class="tag">Accessible</span><p>Usable by everyone, including people with disabilities.</p></div>
    </div>
    <p class="ex">The one-line meaning under each card is an explanation, not slide text; the slide lists the four words only.</p>
    <h3>Skills you gain in the UX field</h3>
    <div class="flow">
      <span class="node">Research</span><span class="node">Psychology &amp; Sociology</span><span class="node">Visual design fundamentals</span><span class="node">Some business understanding</span><span class="node">Communication</span><span class="node">Critical thinking</span>
    </div>
  </div>

  <div class="sec">
    <span class="eyebrow">1.4 · Careers</span>
    <h2>Careers in UX &amp; who hires</h2>
    <div class="tbl"><table>
      <thead><tr><th>International market titles</th><th>Local market titles</th></tr></thead>
      <tbody>
        <tr><td>Interaction Designer</td><td style="font-weight:400">UI/UX Designer</td></tr>
        <tr><td>Visual Designer</td><td style="font-weight:400">UI Designer</td></tr>
        <tr><td>Motion Designer</td><td style="font-weight:400">Product Designer</td></tr>
        <tr><td>UX Writer</td><td style="font-weight:400">App Designer</td></tr>
        <tr><td>UX Researcher</td><td style="font-weight:400">Web Designer · UX Researcher</td></tr>
      </tbody>
    </table></div>
    <p><strong>Who hires UX designers:</strong> start-ups, freelancing, advertising agencies, design agencies, and large tech companies (Google, Amazon, Apple, Meta, Netflix).</p>
    <div class="note"><b>Notice</b>Internationally the roles are <strong>specialized</strong> (one person = one skill). Locally one person usually covers <strong>both UI and UX</strong>.</div>
  </div>

  <div class="sec">
    <span class="eyebrow">1.5 · Building blocks</span>
    <h2>UX fundamentals</h2>
    <p>UX sits at the overlap of six areas:</p>
    <div class="grid">
      <div class="card"><span class="tag">Visual Design</span></div>
      <div class="card"><span class="tag">Interaction Design</span></div>
      <div class="card"><span class="tag">Content Strategy</span></div>
      <div class="card"><span class="tag">User Research</span></div>
      <div class="card"><span class="tag">Business Objectives</span></div>
      <div class="card"><span class="tag">Information Architecture</span></div>
    </div>
  </div>

  <div class="sec">
    <span class="eyebrow">1.6 · Frameworks</span>
    <h2>UX frameworks</h2>
    <p>A <strong>framework</strong> is a method or series of steps. Three are covered.</p>

    <h3>1 · User-Centered Design (UCD)</h3>
    <p>Puts the user <strong>front-and-center</strong>. Designers must consider the story, emotions and insights gathered about the user.</p>
    <figure class="fig">
      <div class="flow"><span class="node">Understand how the user experiences the product</span><span class="arr">→</span><span class="node">Specify the user's needs</span><span class="arr">→</span><span class="node">Design solutions</span><span class="arr">→</span><span class="node">Evaluate solutions against the user's needs</span></div>
      <span class="loop">↺ Evaluation loops back to any earlier step</span>
      <figcaption>UCD is a cycle, not a straight line</figcaption>
    </figure>

    <h3>2 · Design Thinking</h3>
    <p>A user-centered approach to problem-solving. Solutions address a real user problem and are <strong>functional and cost-effective</strong>.</p>
    <div class="tbl"><table>
      <thead><tr><th>Phase</th><th>Goal</th></tr></thead>
      <tbody>
        <tr><td>Empathize</td><td>Understand users' needs and how they think and feel</td></tr>
        <tr><td>Define</td><td>Create a clear <strong>problem statement</strong> (a description of the user's need)</td></tr>
        <tr><td>Ideate</td><td>Generate solutions once the problem is chosen and its importance is clear</td></tr>
        <tr><td>Prototype</td><td>Build an early model of the product that demonstrates its functionality</td></tr>
        <tr><td>Test</td><td>Users give feedback <strong>before</strong> engineers build it and it launches</td></tr>
      </tbody>
    </table></div>

    <h3>3 · Double Diamond</h3>
    <p>A visual representation of the design and innovation process, usable for any project <strong>whatever methods and tools</strong> are used.</p>
    <figure class="fig">
      <div class="cols">
        <div class="stack"><span class="node out">Problem</span></div>
        <div class="stack">
          <span class="mono">Diamond 1 · Research · "Design the right thing"</span>
          <div class="flow"><span class="node">Discover</span><span class="ex">insight into the problem</span><span class="arr">→</span><span class="node">Explore / Define</span><span class="ex">scope down the focus</span></div>
          <span class="node out">Problem definition</span>
          <span class="mono">Diamond 2 · Design · "Design things right"</span>
          <div class="flow"><span class="node">Develop / Test</span><span class="ex">potential solutions</span><span class="arr">→</span><span class="node">Deliver / Listen</span><span class="ex">solutions that work &amp; get feedback</span></div>
        </div>
        <div class="stack"><span class="node out">Solution</span></div>
      </div>
      <figcaption>Each diamond opens up (many options) then narrows down (one choice)</figcaption>
    </figure>
    <div class="note"><b>Who is right?</b>All of them. UX is a <strong>soft science</strong>: there is no right or wrong framework.</div>
  </div>

  <div class="sec">
    <span class="eyebrow">1.7 · UX in action</span>
    <h2>Design Sprint</h2>
    <p>A <strong>time-based</strong> process with 5 phases spread over <strong>5 full 8-hour days</strong> (the classic 5-day sprint).</p>
    <figure class="fig">
      <div class="flow"><span class="node">Day 1 · Understand</span><span class="arr">→</span><span class="node">Day 2 · Ideate</span><span class="arr">→</span><span class="node">Day 3 · Decide</span><span class="arr">→</span><span class="node">Day 4 · Prototype</span><span class="arr">→</span><span class="node">Day 5 · Validate</span></div>
    </figure>
    <p><strong>Benefits:</strong> saves time · creates a path from product to market · prioritizes the user · tests before launch (saves money) · lowers risks.</p>
  </div>

  <div class="sec">
    <span class="eyebrow">1.8 · The roadmap</span>
    <h2>The UX process: 5 phases</h2>
    <div class="tbl"><table>
      <thead><tr><th>Phase</th><th>Deliverables</th></tr></thead>
      <tbody>
        <tr><td>1 · UX Research / Empathize</td><td>Stakeholder interviews · Competitive audits · User research</td></tr>
        <tr><td>2 · Analysis</td><td>Persona · User journey map · Empathy map · Problem statement</td></tr>
        <tr><td>3 · Design</td><td>User stories · App map / Site map · Features list · Information architecture · User flow · Paper sketches · Wireframes · UI &amp; visual design</td></tr>
        <tr><td>4 · Prototype</td><td>Paper · Lo-Fi · Hi-Fi prototypes</td></tr>
        <tr><td>5 · Validation</td><td>Usability testing · A/B testing · Heuristic evaluation · Surveys · Heat maps</td></tr>
      </tbody>
    </table></div>
    <div class="note"><b>Exam hook</b>This table is the skeleton of the whole course. Every later topic is one cell of it.</div>
  </div>

  <div class="sec">
    <span class="eyebrow">Phase 1 · Research</span>
    <h2>Stakeholders &amp; stakeholder interviews</h2>
    <p><strong>Stakeholders</strong> are people, groups or individuals who have the power to <strong>affect or be affected by</strong> the design project.</p>
    <p><strong>Stakeholder interviews</strong> are one-on-one or group conversations with people who have a vested interest in the product's success. Analyzing their views shows what they want and need from the product.</p>
    <h3>Why conduct them: three things to learn</h3>
    <div class="grid">
      <div class="card"><span class="tag">User needs</span><p>How will the design help the users?</p></div>
      <div class="card"><span class="tag">Business goals</span><p>How will the design support business objectives?</p></div>
      <div class="card"><span class="tag">Technical limitations</span><p>What technical obstacles must be overcome?</p></div>
    </div>
    <p><strong>Benefits:</strong> defining goals · improving communication · sharing a cohesive vision · earning trust and buy-in.</p>
    <h3>How to conduct one</h3>
    <ol>
      <li>Set goals: what you want to find out. Typical questions: short- and long-term business goals? The stakeholder's role? Who are the users? Major competitors? Technological limitations? Their definition of product success?</li>
      <li>Choose <strong>up to 5 stakeholders</strong> from <strong>different sectors</strong> of the company, for a broader spectrum of insights.</li>
      <li>Find stakeholders → Prepare questions → Document and analyze responses.</li>
    </ol>
    <h3>User research vs market research</h3>
    <div class="pc">
      <div class="pro" style="background:var(--accent-soft)"><h3 style="color:var(--accent)">User research</h3><p>Studies the target users: needs, behaviors, experiences. e.g. one-to-one meeting, focus group, survey.</p></div>
      <div class="pro" style="background:var(--tip-soft)"><h3 style="color:var(--tip)">Market research</h3><p>A <strong>competitive analysis</strong>: how competitors solve similar problems, and where the opportunities are.</p></div>
    </div>
  </div>

  <div class="sec">
    <span class="eyebrow">Phase 2 · Analysis</span>
    <h2>Personas</h2>
    <p><strong>Fictional yet believable archetypes</strong> representing target customers. They go deeper than customer segments: each has a <strong>name and a story</strong>, with needs, motivations, attitudes and pain points.</p>
    <p class="ex">Slide example: Jennifer D. Gephart, 32, Finance Project Manager, MBA, Austin TX. Boxes: Interests, Goals, Pain Points, Motivations, Challenges, Needs &amp; Expectations, Technology &amp; Social Media, Content preferences, Brands &amp; Influences.</p>
    <div class="note"><b>Why important</b>They answer "<strong>Who are we designing for?</strong>" Knowing users' expectations, concerns and motivations lets you design a product that satisfies them. Personas are then used to build journey maps.</div>
  </div>

  <div class="sec">
    <h2>User journey maps</h2>
    <p>Map the relationship between a customer and an organization <strong>over time and across all channels</strong>. Teams use them to see where experiences meet expectations and where designs must improve. A good journey map is based on <strong>real research</strong> and shows the true experience, good or bad.</p>
    <p class="ex">Rows on the slide template: Stages · Goal · Actions · Thoughts · Emotions · Touch points. Example: Sarah going to the movies through 4 stages (Decide → Travel → Experience → Return), with her mood rising and falling ("Traffic is always so bad!", "Finally I can relax", "Where is my car?").</p>
  </div>

  <div class="sec">
    <h2>Empathy maps</h2>
    <p><strong>Empathize</strong> is the first phase of design thinking: gaining real insight into users and their needs. An empathy map is one way to <strong>visualize</strong> empathy.</p>
    <p>It condenses customer data into a simple chart and shows what customers <strong>actually want, not what you think they want</strong>. Traditional maps have <strong>4 quadrants</strong> around the user:</p>
    <div class="grid">
      <div class="card"><span class="tag">Says</span><p class="ex">"What size is best?" "I want something reliable."</p></div>
      <div class="card"><span class="tag">Thinks</span><p class="ex">"Why is this so hard?" "Too many acronyms."</p></div>
      <div class="card"><span class="tag">Does</span><p class="ex">Compares products, lists pros/cons, asks friends.</p></div>
      <div class="card"><span class="tag">Feels</span><p class="ex">Overwhelmed, confused by options, anxious, excited.</p></div>
    </div>
    <p class="ex">Examples from the slide: Jamie buying a TV.</p>
    <p>Empathy maps help you learn: what users <strong>need and want</strong> · how they <strong>behave, feel and think</strong> · <strong>why</strong> they show those behaviors in real-world use.</p>
  </div>

  <div class="sec">
    <h2>Problem statement</h2>
    <p>A <strong>concise description of the problem to be solved</strong>, written in the discovery phase. It focuses on <strong>who</strong> the problem affects, <strong>how</strong>, and <strong>why</strong> solving it matters.</p>
    <h3>It should include</h3>
    <ul>
      <li><strong>Background</strong>: which organization/department has the problem, what it is, why it arose (causes may be unknown).</li>
      <li><strong>People affected</strong>: possibly several user groups, each affected differently.</li>
      <li><strong>Impact on the organization</strong>: what happens if it isn't fixed, and possibly what it costs.</li>
    </ul>
    <h3>Gather facts with the 5 Ws</h3>
    <div class="flow"><span class="node">Who is affected?</span><span class="node">What is the problem?</span><span class="node">Where does it occur?</span><span class="node">When does it occur?</span><span class="node">Why does it occur / why is it important?</span></div>
  </div>

  <div class="sec">
    <span class="eyebrow">Phase 3 · Design</span>
    <h2>User stories &amp; story maps</h2>
    <p>With a clear understanding of users and market, designers start <strong>ideation</strong>.</p>
    <p>A <strong>user story</strong> is a one-sentence statement that says <strong>who</strong> the user is, <strong>what</strong> they want, and <strong>why</strong>:</p>
    <p class="lead"><strong>"As a ______, I want ______ so that ______."</strong></p>
    <p><strong>User-story mapping</strong> (story maps) is a <strong>lean UX-mapping method</strong>. It can be used at any point in development: for a new product after initial discovery, or an existing one after usability testing. It starts to show solutions to the problems found in research.</p>
    <div class="tbl"><table>
      <thead><tr><th>Story-map level</th><th>Meaning</th><th>Slide example (mobile check deposit)</th></tr></thead>
      <tbody>
        <tr><td>1 · Activities</td><td>High-level tasks users do in the product</td><td>Check account balance · Deposit a check</td></tr>
        <tr><td>2 · Steps</td><td>Steps to complete each activity</td><td>Log in · Access accounts · Enter deposit details · Sign check</td></tr>
        <tr><td>3 · Details</td><td>Small discrete interactions per step</td><td>Enter username · Enter password · Press login</td></tr>
      </tbody>
    </table></div>
  </div>

  <div class="sec">
    <h2>Sitemap, features list &amp; user flow</h2>
    <div class="grid">
      <div class="card"><span class="tag">App map / Site map</span><p>A map of the pages or screens of a site/app, also called an <strong>IA diagram</strong> or content outline. Shows how pages relate and how users navigate.</p><p class="ex">Why: tracks where the site is going, improves communication between designers, developers and stakeholders, and reveals missed areas early.</p></div>
      <div class="card"><span class="tag">Features list</span><p>A document listing all features expected in the project for future work.</p><p class="ex">Why: one clear, up-to-date place for the team; can show what's built now vs later. How: list main features, then related features, add columns as needed.</p></div>
      <div class="card"><span class="tag">User flow</span><p>"Flow" means movement: the path a user takes through the site/app, step by step, from <strong>entry point to a specific goal</strong> (sign up, search, submit, purchase).</p><p class="ex">Drawn with start/end ovals, step boxes and yes/no decision diamonds.</p></div>
    </div>
  </div>

  <div class="sec">
    <h2>Sketches, wireframes &amp; visual design</h2>
    <div class="flow"><span class="node">Paper sketches</span><span class="ex">hand-drawn UI sketches</span><span class="arr">→</span><span class="node">Wireframes</span><span class="ex">digital versions with basic lines &amp; shapes</span><span class="arr">→</span><span class="node">UI &amp; visual design</span><span class="ex">images, colors, fonts</span></div>
    <p><strong>Visual design</strong> focuses on the <strong>aesthetics</strong> of a site by strategically using images, colors, fonts and other elements.</p>
    <div class="note"><b>The iceberg</b><strong>UI is the visible tip</strong>: color, illustration, photography, typography, icons, graphics. <strong>UX is the hidden mass</strong>: usability testing, psychology, interaction design, content strategy, wireframes, prototypes, information architecture, understanding the problem, research.</div>
  </div>

  <div class="sec">
    <span class="eyebrow">Phase 4 · Prototype</span>
    <h2>Prototypes</h2>
    <p>An <strong>early version</strong> of a product or interface, made to explore and test a design <strong>before development</strong>. It helps identify problems, gather feedback and improve the solution. It is the step between <strong>formalizing</strong> an idea and <strong>evaluating</strong> it.</p>
    <div class="grid">
      <div class="card"><span class="tag">Paper prototype</span><p>Hand-drawn boxes, crosses for images, "CTA" buttons.</p></div>
      <div class="card"><span class="tag">Lo-Fi prototype</span><p>Digital, grey, placeholder logo and lorem ipsum text.</p></div>
      <div class="card"><span class="tag">Hi-Fi prototype</span><p>Looks like the real product: real content, colors, styled buttons.</p></div>
    </div>
  </div>

  <div class="sec">
    <span class="eyebrow">Phase 5 · Test</span>
    <h2>Validation methods</h2>
    <div class="grid">
      <div class="card"><span class="tag">Usability testing</span><p>People complete a list of tasks while you observe and note their interactions.</p></div>
      <div class="card"><span class="tag">A/B testing</span><p>Compare two versions of a design with users to see which performs better on a <strong>defined metric</strong> (e.g. 20% vs 40% conversion).</p></div>
      <div class="card"><span class="tag">Heuristic evaluation</span><p><strong>Experts</strong> evaluate the interface against established usability principles to find problems.</p></div>
      <div class="card"><span class="tag">Surveys</span><p>Collect data from a group of participants. Can be <strong>qualitative</strong> (open-ended comments) or <strong>quantitative</strong> (many responses, e.g. Strongly Disagree → Strongly Agree scales).</p></div>
    </div>
  </div>
</section>

<!-- ===================== LECTURE 3 ===================== -->
<section class="panel" id="l2" role="tabpanel" hidden>
  <div class="recap">
    <h3>Lecture 3 in one minute</h3>
    <ul>
      <li><strong>UX research</strong> = understanding who your users are, what they need, and testing your design with them.</li>
      <li>User needs pyramid (bottom → top): <strong>Functional → Reliable → Usable → Pleasurable</strong>. <strong>Deep delight</strong> (it just works) beats <strong>shallow delight</strong> (animations, mascots).</li>
      <li>Research phases: <strong>Plan → Research → Synthesize → Share</strong>.</li>
      <li>A research plan has 7 parts: <strong>Background, Goals, Questions, KPIs, Methodology, Participants, Script</strong>.</li>
      <li><strong>Quantitative</strong> (what / how many; 100s–1000s of people): A/B testing, surveys, card sorting. <strong>Qualitative</strong> (why / how; 5–7 users): interviews, usability tests, focus groups.</li>
      <li>Synthesis turns raw data into insights. Example: Google Maps' <strong>two-wheeler mode</strong>.</li>
    </ul>
  </div>
  <div class="sec">
    <span class="eyebrow">Mind map</span>
    <h2>Lecture 3 at a glance</h2>
    <div class="tools"><button class="tool" data-mm="collapse">Main branches only</button><button class="tool" data-mm="expand">Expand all</button><button class="tool" data-mm="full">Full screen</button></div>
    <div class="mmx"><ul class="mm" data-src="mm2"></ul></div>
  </div>

  <div class="sec">
    <span class="eyebrow">2.1 · Definition</span>
    <h2>What is UX research?</h2>
    <p class="lead">The process of understanding <strong>who your users are</strong>, <strong>what they need</strong>, and <strong>testing your design with them</strong> to make sure it works.</p>
    <h3>Benefits</h3>
    <ol>
      <li>Get to know and understand your business's <strong>end-users</strong>.</li>
      <li>Make sure your <strong>assumptions are validated</strong> by real data.</li>
      <li><strong>Save time and resources</strong> on changes later in development.</li>
      <li><strong>Reduce the risk</strong> that the product fails its goal and doesn't survive on the market.</li>
    </ol>
  </div>

  <div class="sec">
    <span class="eyebrow">2.2 · What users need</span>
    <h2>Hierarchy of user needs</h2>
    <figure class="fig">
      <div class="stack" style="justify-items:center">
        <span class="node" style="border-color:var(--b5)">4 · Pleasurable</span>
        <span class="node" style="border-color:var(--b4)">3 · Usable</span>
        <span class="node" style="border-color:var(--b6)">2 · Reliable</span>
        <span class="node" style="border-color:var(--b1)">1 · Functional</span>
      </div>
      <figcaption>Read bottom-up: each level needs the one below it first</figcaption>
    </figure>
    <div class="pc">
      <div class="con"><h3>Shallow delight</h3><p>Aesthetics, animations, sound effects, cute mascots, gamification.</p></div>
      <div class="pro"><h3>Deep delight</h3><p>Works exactly how you think. Lets you get tasks done.</p></div>
    </div>
    <div class="note"><b>Link them</b>Shallow delight only decorates the top of the pyramid. Deep delight comes from getting the lower levels right.</div>
  </div>

  <div class="sec">
    <span class="eyebrow">2.3 · Timing</span>
    <h2>When to do UX research</h2>
    <div class="flow"><span class="node">1 · Creating a new product</span><span class="node">2 · Adding new features</span><span class="node">3 · Redesign</span><span class="node">4 · Attracting new audiences</span><span class="node">5 · Across the product's end-to-end lifecycle</span></div>
  </div>

  <div class="sec">
    <span class="eyebrow">2.4 · Phases</span>
    <h2>UX research phases</h2>
    <figure class="fig"><div class="flow"><span class="node">Plan</span><span class="arr">→</span><span class="node">Research</span><span class="arr">→</span><span class="node">Synthesize</span><span class="arr">→</span><span class="node">Share</span></div></figure>
  </div>

  <div class="sec">
    <span class="eyebrow">2.5 · Plan</span>
    <h2>The UX research plan</h2>
    <p>A <strong>document</strong> that gives an overview and kicks off the project. It should be <strong>co-created and shared with key stakeholders</strong> so the whole product team knows what to expect.</p>
    <div class="tbl"><table>
      <thead><tr><th>Part</th><th>What it is</th><th>Slide example (ride-booking app)</th></tr></thead>
      <tbody>
        <tr><td>1 · Project background</td><td>What led to the research, or a quick product description</td><td>An app to order cars that drive people where they're headed. Is it beneficial to users?</td></tr>
        <tr><td>2 · Research goals</td><td>What design problems we're solving and how results will affect design decisions</td><td>Is "X" difficult to use? Can users complete the booking journey?</td></tr>
        <tr><td>3 · Research questions</td><td>The questions the research must answer</td><td>How long does booking a ride take? Can people complete the reservation?</td></tr>
        <tr><td>4 · KPIs</td><td>Critical measures of progress toward the end goal</td><td>Task success rate · Drop-off rate · User satisfaction</td></tr>
        <tr><td>5 · Methodology</td><td>Steps and methods: how you'll collect and analyze data</td><td>Surveys · User interviews</td></tr>
        <tr><td>6 · Participants</td><td>Their characteristics and who you'll recruit</td><td>Full-time employees who take a taxi to work daily</td></tr>
        <tr><td>7 · Script</td><td>Also called the <strong>Discussion Guide</strong>: the actual questions you ask users while they test</td><td>"Did you face any challenges booking a ride in the app?"</td></tr>
      </tbody>
    </table></div>
    <div class="note"><b>Don't mix them up</b><strong>Goals</strong> = the design problem you want to solve. <strong>Questions</strong> = the specific things you need answered. <strong>KPIs</strong> = the numbers that measure success.</div>
  </div>

  <div class="sec">
    <span class="eyebrow">2.6 · Methods</span>
    <h2>Research method types (by type of data)</h2>
    <div class="pc">
      <div class="pro" style="background:var(--accent-soft)"><h3 style="color:var(--accent)">Quantitative</h3><p>Answers <strong>"what"</strong> and <strong>"how many"</strong>.</p><p>Large sample: <strong>100s or 1000s</strong> of people for statistical significance.</p><ul><li>A/B testing</li><li>Surveys</li><li>Card sorting</li></ul></div>
      <div class="pro" style="background:var(--tip-soft)"><h3 style="color:var(--tip)">Qualitative</h3><p>Answers <strong>"why"</strong> and <strong>"how"</strong>.</p><p>Small sample: <strong>5–7 users</strong> reveal behavior and motivations.</p><ul><li>Interviews</li><li>Usability tests</li><li>Focus groups</li></ul></div>
    </div>
    <div class="note"><b>Watch out</b>Lecture 3 files surveys under quantitative, while Lecture 1 says surveys can serve <strong>both</strong> (open-ended comments = qualitative). If asked, give Lecture 3's classification and mention the nuance.</div>
  </div>

  <div class="sec">
    <h2>A/B testing</h2>
    <p>Showing <strong>two variants of the same page</strong> to <strong>different segments</strong> of visitors <strong>at the same time</strong>, and comparing which drives more <strong>conversions</strong>.</p>
    <figure class="fig">
      <div class="flow"><span class="node out">50% of traffic</span><span class="arr">→</span><span class="node">Control: one big photo + slogan → 12% click-through</span></div>
      <div class="flow"><span class="node out">50% of traffic</span><span class="arr">→</span><span class="node">Treatment: clear headline "Cat Food &amp; Toy Deliveries" + 3 photos → 21% click-through</span></div>
      <figcaption>CandyCat example from the slides: the treatment wins</figcaption>
    </figure>
    <h3>8 steps</h3>
    <ol>
      <li><strong>Choose what to test</strong>: one element, relevant to the metric you want to improve.</li>
      <li><strong>Set goals</strong>: e.g. improve conversion rate.</li>
      <li><strong>Analyze existing data</strong>: e.g. with Google Analytics (free).</li>
      <li><strong>Select pages</strong>: start with the most important one, e.g. the Products page.</li>
      <li><strong>Create a variant</strong> of your "champion": change only the chosen element, and make <strong>only one change</strong>.</li>
      <li><strong>Choose a tool</strong>: Optimizely, VWO, SiteSpect, AB Tasty.</li>
      <li><strong>Accumulate data</strong>: collected automatically; watch progress any time.</li>
      <li><strong>Analyze the statistics</strong>: draw conclusions from the winning variant.</li>
    </ol>
  </div>

  <div class="sec">
    <h2>Surveys</h2>
    <p>A <strong>set of questions</strong> sent to a <strong>targeted group of users</strong> that probes their <strong>attitudes and preferences</strong>. Quick, easy and inexpensive, but <strong>a poorly designed survey won't yield valuable insights</strong>.</p>
    <h3>Best practices</h3>
    <div class="grid">
      <div class="card"><span class="tag">1 · Short &amp; simple</span><p>Only ask questions you'll analyze and actually need.</p></div>
      <div class="card"><span class="tag">2 · Be clear</span><p>Pre-test it; each question asks about <strong>one thing only</strong>.</p></div>
      <div class="card"><span class="tag">3 · Check for bias</span><p>Provide a range of options to choose from.</p></div>
      <div class="card"><span class="tag">4 · Structure well</span><p>Simplest questions first, more complex ones near the end.</p></div>
    </div>
  </div>

  <div class="sec">
    <h2>Card sorting</h2>
    <p>Users <strong>organize topics into groups</strong>. Used to create an <strong>Information Architecture (IA)</strong> that matches users' expectations.</p>
    <div class="pc">
      <div class="pro" style="background:var(--accent-soft)"><h3 style="color:var(--accent)">Open card sort</h3><p>Participant sorts cards into groups <strong>and names the groups themselves</strong>.</p><p class="ex">e.g. Shoes + Sunglasses → "Accessories"; Backpack, Tote bag, Fanny pack → "Bags"; Dresses, Coats, Trousers → "Clothing".</p></div>
      <div class="pro" style="background:var(--tip-soft)"><h3 style="color:var(--tip)">Closed card sort</h3><p>Participant sorts cards into groups <strong>the researchers already created</strong>.</p><p class="ex">e.g. Grass, Frogs, Leaf → "Natural"; Bus, Train, Airplane → "Mechanical".</p></div>
    </div>
    <h3>6 steps</h3>
    <ol>
      <li><strong>Choose topics</strong> representing the main site content; one topic per index card.</li>
      <li><strong>User groups the cards</strong>: shuffle, user looks at each and piles related ones.</li>
      <li><strong>User names the groups</strong> on blank cards.</li>
      <li><strong>Debrief</strong>: ask why they grouped things that way.</li>
      <li><strong>Repeat with 15–20 users.</strong></li>
      <li><strong>Analyze</strong>: common groups, names, themes, frequently paired items, combined with the debrief insights.</li>
    </ol>
  </div>

  <div class="sec">
    <h2>User interviews</h2>
    <p>A researcher asks <strong>one user</strong> questions about a topic (use of a system, behaviors, habits) to learn about it. Interviews show <strong>what users think</strong> about a site, app or product.</p>
    <h3>How</h3>
    <ol>
      <li>Set a goal for the interview.</li>
      <li>Make the user comfortable; build a friendly connection.</li>
      <li>Prepare questions beforehand.</li>
      <li>Avoid <strong>leading, closed, or unclear</strong> questions.</li>
      <li>Prepare <strong>more questions than you think</strong> you'll have time for.</li>
      <li>Practice your go-to <strong>follow-up questions</strong>.</li>
    </ol>
    <div class="note"><b>Example</b>Leading: "Don't you love our new checkout?" Better: "Tell me about the last time you paid in the app." <span class="ex">(example added, not from the slides)</span></div>
  </div>

  <div class="sec">
    <h2>Usability testing</h2>
    <p>Testing how easy something is to use <strong>with real users</strong>. Users complete tasks while <strong>observed by a researcher</strong>, to see where they hit problems and confusion. If several people hit the same problem, recommendations are made to fix it.</p>
    <p><strong>Goals:</strong> (A) identify design problems · (B) uncover opportunities to improve · (C) learn about the target user's behavior and preferences.</p>
    <h3>5 steps</h3>
    <div class="tbl"><table>
      <thead><tr><th>Step</th><th>Details</th></tr></thead>
      <tbody>
        <tr><td>1 · Plan the session</td><td>Nature of the study; logistics of the sessions</td></tr>
        <tr><td>2 · Recruit participants</td><td>Hire an agency / use your website; social media / recruit your clients</td></tr>
        <tr><td>3 · Design the task(s)</td><td>What users will be asked to do</td></tr>
        <tr><td>4 · Run the session</td><td>Intro &amp; warm-up → pre-test data → first task → take notes → follow-up questions &amp; wrap-up</td></tr>
        <tr><td>5 · Analyze the insights</td><td>Find the repeated problems</td></tr>
      </tbody>
    </table></div>
  </div>

  <div class="sec">
    <span class="eyebrow">2.7 · Synthesize</span>
    <h2>Analysis and synthesis</h2>
    <p>Sorting, categorizing and <strong>transforming raw data into valuable information</strong>. One of the most important and challenging steps of UX research.</p>
    <h3>Case study: Google Maps (Delhi, India &amp; Jakarta, Indonesia)</h3>
    <div class="tbl"><table>
      <tbody>
        <tr><td>Background</td><td>Dense cities: car drivers can be stuck in traffic for hours. Locals use scooters and motorcycles to take shortcuts and weave through traffic.</td></tr>
        <tr><td>Problem</td><td>Maps apps were built for cars. Scooters use the same roads but can't use Google Maps the same way.</td></tr>
        <tr><td>Insights</td><td>Hard to follow a map while riding, so riders memorize routes beforehand · Landmarks matter a lot for two-wheelers · More language options needed · Directions should be customized for two-wheelers</td></tr>
        <tr><td>Solution</td><td>Users can switch Google Maps to <strong>two-wheeler mode</strong>.</td></tr>
      </tbody>
    </table></div>
    <div class="note"><b>Why it's the textbook example</b>It shows the whole chain: observe real behavior → find a hidden problem → turn findings into insights → ship a feature.</div>
  </div>
</section>

<!-- ===================== LECTURE 4 ===================== -->
<section class="panel" id="l3" role="tabpanel" hidden>
  <div class="recap">
    <h3>Lecture 4 in one minute</h3>
    <ul>
      <li><strong>Design thinking</strong> is iterative and <strong>non-linear</strong>: understand users, challenge assumptions, redefine problems, create innovative solutions to prototype and test.</li>
      <li><strong>Empathize</strong> (stage 1): empathy maps (Said/Did/Thought/Felt), pain points (Financial, Process, Productivity, Support), personas, journey maps, user stories.</li>
      <li>A journey map has 7 parts: <strong>Persona, Scenario, Goal, Action, Task list, Feeling adjective, Improvement opportunities</strong>.</li>
      <li><strong>Define</strong> (stage 2): 5 Ws + H, the 5 Whys (Toyota, 1930s), and the problem statement: "<em>[Name] is a [user] who needs [need] because [insight]</em>".</li>
      <li><strong>Ideate</strong> (stage 3): brainstorm, storyboard, Crazy 8s, focus group. Pick ideas with <strong>dot voting</strong> plus 4 check questions.</li>
    </ul>
  </div>
  <div class="sec">
    <span class="eyebrow">Mind map</span>
    <h2>Lecture 4 at a glance</h2>
    <div class="tools"><button class="tool" data-mm="collapse">Main branches only</button><button class="tool" data-mm="expand">Expand all</button><button class="tool" data-mm="full">Full screen</button></div>
    <div class="mmx"><ul class="mm" data-src="mm3"></ul></div>
  </div>

  <div class="sec">
    <span class="eyebrow">3.1 · Design thinking</span>
    <h2>What is design thinking?</h2>
    <p>An <strong>iterative process</strong> where you seek to understand users, <strong>challenge assumptions</strong>, <strong>redefine problems</strong> and create innovative solutions you can prototype and test. The goal: find strategies and solutions that aren't obvious from your first understanding.</p>
    <h3>Why it's important</h3>
    <ul>
      <li>The main objective is to solve the <strong>customer's requirements</strong>.</li>
      <li>Helps solve <strong>unclear and challenging</strong> problems.</li>
      <li>Drives people to create <strong>innovative</strong> solutions.</li>
      <li>Helps organizations run <strong>faster and more efficiently</strong>.</li>
    </ul>
    <figure class="fig">
      <div class="flow"><span class="node">Empathize</span><span class="arr">→</span><span class="node">Define</span><span class="arr">→</span><span class="node">Ideate</span><span class="arr">→</span><span class="node out">Prototype</span><span class="arr">→</span><span class="node out">Test</span></div>
      <span class="loop">↺ non-linear: you can jump back to any phase</span>
      <figcaption>This lecture covers the first three phases (solid)</figcaption>
    </figure>
  </div>

  <div class="sec">
    <span class="eyebrow">3.2 · Stage 1</span>
    <h2>Empathize</h2>
    <p><strong>Empathy</strong> = the ability to understand someone else's feelings or thoughts in a situation.</p>
    <ul>
      <li>Designing with empathy <strong>enhances</strong> the products you create.</li>
      <li>Deeper connections with users show you their <strong>pain points</strong>.</li>
      <li>Finding that connection early guides you down the right path and <strong>saves extensive revisions</strong> later.</li>
    </ul>
    <h3>Empathy methods</h3>
    <p>Interviewing users is essential, but it's only the beginning. The slide shows 11 tools:</p>
    <div class="flow">
      <span class="node">Assume a beginner's mindset</span><span class="node">Photo- &amp; video-based observations</span><span class="node">Personal photo &amp; video journals</span><span class="node">Conduct interviews with empathy</span><span class="node">Bodystorm</span><span class="node">Engage with extreme users</span><span class="node">The five whys</span><span class="node">Journey mapping</span><span class="node">Embrace analogies</span><span class="node">What-How-Why method</span><span class="node">Capture &amp; share inspirational stories</span>
    </div>
  </div>

  <div class="sec">
    <h2>Empathy map</h2>
    <p>An easily understood chart of what designers have learned about <strong>a type of user</strong>. Four squares: what the user <strong>says, does, thinks and feels</strong>.</p>
    <div class="grid">
      <div class="card"><span class="tag">Said</span><p>Direct quotes from research.</p></div>
      <div class="card"><span class="tag">Did</span><p>Actions and behaviors you observed.</p></div>
      <div class="card"><span class="tag">Thought</span><p>What they think but may not say aloud.</p></div>
      <div class="card"><span class="tag">Felt</span><p>Their emotional state.</p></div>
    </div>
    <div class="note"><b>Same tool, two labels</b>Lecture 1 writes Says / Thinks / Does / Feels; Lecture 4 writes Said / Did / Thought / Felt. They are the same four quadrants.</div>
  </div>

  <div class="sec">
    <h2>User pain points</h2>
    <p><strong>Any UX issue that upsets the user and blocks them from getting what they need.</strong></p>
    <div class="grid">
      <div class="card"><span class="tag">Financial</span><p>Spending too much money, e.g. expensive subscription.</p></div>
      <div class="card"><span class="tag">Process</span><p>Steps are annoying or confusing, e.g. a long checkout.</p></div>
      <div class="card"><span class="tag">Productivity</span><p>Wastes time or effort, e.g. slow, repetitive tasks.</p></div>
      <div class="card"><span class="tag">Support</span><p>Can't get help when needed, e.g. no reply from support.</p></div>
    </div>
    <p class="ex">The slide names the four types only; the descriptions and examples are added to help you explain them.</p>
  </div>

  <div class="sec">
    <h2>Personas</h2>
    <p><strong>Fictional users</strong> whose goals and characteristics represent the needs of a <strong>larger group</strong> of users. Built from user research by finding <strong>common pain points</strong>.</p>
    <div class="card"><span class="tag">Slide example · Nourallah Mohamed</span>
      <p>25, married, UI/UX designer, Alexandria, Egypt. Two years in the job, keen to keep developing.</p>
      <p><strong>Goals:</strong> get data quickly, get reliable correct information, get help without always going back to the instructor.</p>
      <p><strong>Frustrations:</strong> searching online and not finding the topic; not sure the results are 100% accurate.</p>
      <p class="ex">Also lists software (Figma, XD, Illustrator, Photoshop), apps, interests and preferred medium (phone over laptop).</p>
    </div>
  </div>

  <div class="sec">
    <h2>User journey map</h2>
    <p><strong>A diagram or visualization of the process and experiences a person goes through to accomplish a goal.</strong></p>
    <h3>It consists of 7 parts</h3>
    <div class="tbl"><table>
      <thead><tr><th>Part</th><th>Where it sits</th><th>What it holds</th></tr></thead>
      <tbody>
        <tr><td>Persona</td><td>Header</td><td>Image, name, age, education, hometown, family, occupation, a quote, goals, frustrations, short story</td></tr>
        <tr><td>Scenario</td><td>Header</td><td>The situation the persona is in</td></tr>
        <tr><td>Goal</td><td>Header</td><td>What they want to achieve</td></tr>
        <tr><td>Action</td><td>Column titles</td><td>The main stages (Action 1…5)</td></tr>
        <tr><td>Task list</td><td>Row</td><td>What they do in each action</td></tr>
        <tr><td>Feeling adjective</td><td>Row</td><td>One emotion per action</td></tr>
        <tr><td>Improvement opportunities</td><td>Row</td><td>How the product could fix that step</td></tr>
      </tbody>
    </table></div>
    <h3>Worked example: Nour researching Ethnographic Field Studies</h3>
    <div class="tbl"><table>
      <thead><tr><th>Action</th><th>Task list</th><th>Feeling</th><th>Improvement</th></tr></thead>
      <tbody>
        <tr><td>1 · Motivation</td><td>Wants to understand the method; plans an internet search</td><td>Excited</td><td>–</td></tr>
        <tr><td>2 · Research</td><td>Googles it, prefers Arabic sources</td><td>Disappointed</td><td>700,000 results, little Arabic → an accessible database with Arabic content</td></tr>
        <tr><td>3 · Compare</td><td>Reads the top five websites</td><td>Dissatisfied</td><td>Unsure it's accurate, data incomplete → a reliable database compiled by experts</td></tr>
        <tr><td>4 · Ask an expert</td><td>Overloaded; asks an expert on LinkedIn</td><td>Sad</td><td>Expert too busy to reply → a 24/7 virtual assistant</td></tr>
      </tbody>
    </table></div>
    <div class="note"><b>Notice the pattern</b>The feelings get worse at each step. Each "bad feeling" cell becomes an improvement opportunity: that's how the map turns into features.</div>
  </div>

  <div class="sec">
    <h2>User stories</h2>
    <p>Another way to understand users: build a story around their experience with your product.</p>
    <p class="lead"><strong>As a</strong> [type of user, <em>who</em>], <strong>I want to</strong> [action, <em>what</em>] <strong>so that</strong> [benefit, <em>why</em>].</p>
    <p class="ex">Slide example (Jordan): As a new English language learner, I want to order food from an app using photos and translate descriptions into my native language, so that I can easily order without language being a barrier.</p>
  </div>

  <div class="sec">
    <span class="eyebrow">3.3 · Stage 2</span>
    <h2>Define</h2>
    <p>Organize the information from Empathize and analyze observations to <strong>define the core user problems</strong>. It keeps everyone oriented to the same solution and states the problem in the most useful way.</p>
    <h3>Method 1 · The 5 Ws and H</h3>
    <div class="tbl"><table>
      <thead><tr><th>Question</th><th>Why ask it</th></tr></thead>
      <tbody>
        <tr><td>Who is experiencing the problem?</td><td>Knowing users and their background is key to successful solutions</td></tr>
        <tr><td>What are the pain points?</td><td>Finding them early clarifies everything else</td></tr>
        <tr><td>Where is the user when using the product?</td><td>Their physical context matters to the design</td></tr>
        <tr><td>When does the problem occur?</td><td>After a long process, or daily? Helps you empathize with their feelings</td></tr>
        <tr><td>Why is the problem important?</td><td>Shows how it affects the user's experience and life</td></tr>
        <tr><td>How do users reach their goals with the product?</td><td>Lets you map their journey through the product</td></tr>
      </tbody>
    </table></div>
    <h3>Method 2 · The five whys</h3>
    <figure class="fig"><div class="flow"><span class="node">Why?</span><span class="arr">→</span><span class="node">Why?</span><span class="arr">→</span><span class="node">Why?</span><span class="arr">→</span><span class="node">Why?</span><span class="arr">→</span><span class="node">Why?</span><span class="arr">→</span><span class="node out">Root cause</span></div></figure>
    <p>An iterative technique pioneered at <strong>Toyota Motor Corporation in the 1930s</strong> to explore cause-and-effect relationships. Working back from effect to cause up to five times exposes <strong>root causes</strong>.</p>
    <div class="note"><b>Example</b> Users abandon checkout → why? the form is long → why? it asks for an account → why? the system needs an ID for every order → why? it was built that way. Root cause: forced sign-up. Fix: guest checkout. <span class="ex">(example added)</span></div>
    <h3>Method 3 · Problem statement</h3>
    <p>A clear description of the user's needs to address. It tells us what the user really needs and helps us understand <strong>constraints</strong> and define <strong>deliverables</strong>.</p>
    <p class="lead"><strong>[User name]</strong> is a <strong>[user characteristics]</strong> who needs <strong>[user need]</strong> because <strong>[insight]</strong>.</p>
    <p class="ex">Slide example: Drew is a pet owner in a small town who needs to find and schedule a dog walker because they work the night shift.</p>
  </div>

  <div class="sec">
    <span class="eyebrow">3.4 · Stage 3</span>
    <h2>Ideate</h2>
    <p>Now you're ready to <strong>generate ideas</strong>. You understand users (Empathize) and have a user-centric problem statement (Define), so the team can look at the problem from different perspectives.</p>
    <p><strong>Benefits:</strong> many creative ideas that solve the problem in different ways · innovation by thinking outside the box · teamwork and collaboration.</p>
    <h3>Techniques</h3>
    <div class="grid">
      <div class="card"><span class="tag">Brainstorm</span><p>Group throws out as many ideas as possible, no judging.</p></div>
      <div class="card"><span class="tag">Storyboard</span><p>Comic-like frames showing the user using the solution.</p></div>
      <div class="card"><span class="tag">Crazy 8 sketching</span><p>Fold a paper into 8 boxes, sketch 8 ideas in 8 minutes.</p></div>
      <div class="card"><span class="tag">Focus group</span><p>A small group of users discusses the ideas.</p></div>
    </div>
    <p class="ex">The slide names the techniques only; the descriptions are standard practice, added to help you explain them.</p>
    <h3>How to select ideas</h3>
    <p><strong>Post-it voting / dot voting</strong>, then ask:</p>
    <ul>
      <li>Does it fit people's needs and really meet the goals?</li>
      <li>Does it meet the requirements in our problem statement / Point of View?</li>
      <li>Is the technology available?</li>
      <li>Is it different enough from what exists to add value?</li>
    </ul>
  </div>
</section>

<!-- ===================== FAQ ===================== -->
<section class="panel" id="faq" role="tabpanel" hidden>
  <div class="sec">
    <span class="eyebrow">Frequently asked questions</span>
    <h2>Understand it, don't just memorize it</h2>
    <p>Each answer has four parts: a <strong>short answer</strong>, an explanation <strong>in plain words</strong>, a <strong>real-life example</strong>, and an <strong>exam tip</strong>. Once a question makes sense to you, tick "I understand this" and the progress bar keeps count. Your ticks are saved only in this browser.</p>
  </div>

  <div class="sec">
    <div class="recap">
      <h3>The big picture: how the four lectures connect</h3>
      <ol>
        <li><strong>Lectures 1–2: the whole map.</strong> What UX is, the frameworks, and the 5-phase UX process (Research → Analysis → Design → Prototype → Validation) with every deliverable named once.</li>
        <li><strong>Lecture 3: zoom into Research.</strong> How to plan research, which method to pick (quantitative vs qualitative), how to run each method, and how to synthesize findings.</li>
        <li><strong>Lecture 4: zoom into the first half of Design Thinking.</strong> Empathize (maps, personas, journeys), Define (5 Ws, 5 Whys, problem statement), Ideate (generate and pick ideas).</li>
      </ol>
      <p><strong>One idea runs through all four:</strong> design from <em>real evidence about users</em>, not from your own assumptions. Every tool exists to replace a guess with data.</p>
    </div>
  </div>

  <div class="sec">
    <div class="progwrap">
      <div class="proghead"><span class="mono">Your understanding</span><span id="progText" class="mono">0 of 0</span></div>
      <div class="prog"><i id="progBar"></i></div>
    </div>
    <label for="faqSearch" class="mono">Search the FAQ</label>
    <input id="faqSearch" class="search" type="search" placeholder="e.g. persona, A/B, card sorting" autocomplete="off">
    <label class="got" for="hideDone"><input type="checkbox" id="hideDone"> Show only questions I haven't understood yet</label>
    <p id="faqNone" class="ex" hidden>No questions match. Try another word or untick the filter.</p>
  </div>

  <div class="sec faqgroup">
    <h3>Basics (Lectures 1–2)</h3>
    <div>
      <details><summary>What's the real difference between UX and UI?</summary><div class="ans">
        <p class="short">UX is the whole experience and whether we solve the right problem. UI is the screens: layout, typography, color, components.</p>
        <div class="part"><span class="pl">In plain words</span><p>UX decides <em>what</em> the product should do and <em>how the journey should feel</em>, based on research and testing. UI decides <em>how it looks</em> and how each button and screen behaves. A beautiful UI on top of bad UX is still a bad product.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>A food delivery app: UX research finds that users want to reorder last week's meal in one tap. UI designs the "Reorder" card, its color, its icon and where it sits on the home screen.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Use the four-row table (experience vs interface, needs vs visuals, research &amp; flows vs layout &amp; type, testing vs components) and finish with the two questions: "right problem?" vs "clear and easy?". The iceberg (UI on top, UX underneath) is a strong closing line.</p></div>
        <label class="got" for="f1"><input type="checkbox" id="f1"> I understand this</label></div></details>

      <details><summary>Why is the ketchup bottle a UX example and not a UI one?</summary><div class="ans">
        <p class="short">Because the change solved a real usage problem (controlling the flow), not a visual one.</p>
        <div class="part"><span class="pl">In plain words</span><p>The glass bottle's problem wasn't how it looked. People couldn't get the right amount out. The squeezable upside-down bottle fixed the <em>experience of using it</em>. That's UX: the relationship between the product and the person.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>Same logic as the responsive website: the old site wasn't ugly on desktop, but it was unusable on phones. Making it responsive fixed the experience on every device.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>If asked to "give an example of good UX", describe the problem first (too much / too little ketchup), then the redesign, then the benefit (easier, controlled). Problem → solution → benefit.</p></div>
        <label class="got" for="f2"><input type="checkbox" id="f2"> I understand this</label></div></details>

      <details><summary>User-Centered Design, Design Thinking, Double Diamond: which one is correct?</summary><div class="ans">
        <p class="short">All of them. UX is a soft science; they're different ways to describe the same user-first idea.</p>
        <div class="part"><span class="pl">In plain words</span><p><strong>UCD</strong> is a loop of 4 steps (understand → specify needs → design → evaluate). <strong>Design Thinking</strong> is 5 phases (Empathize, Define, Ideate, Prototype, Test). The <strong>Double Diamond</strong> is a picture of opening up and narrowing down twice: once to find the right problem, once to find the right solution.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>Designing a university course portal: Diamond 1 = interview students and discover their real problem is finding assignment deadlines. Diamond 2 = sketch several deadline views, test them, and ship the best.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Remember the two Double Diamond slogans: <strong>"Design the right thing"</strong> (Discover, Define) and <strong>"Design things right"</strong> (Develop, Deliver). Mapping: Empathize + Define ≈ Diamond 1; Ideate + Prototype + Test ≈ Diamond 2.</p></div>
        <label class="got" for="f3"><input type="checkbox" id="f3"> I understand this</label></div></details>

      <details><summary>How is a Design Sprint different from Design Thinking?</summary><div class="ans">
        <p class="short">A sprint is design thinking squeezed into a fixed time box: 5 phases in 5 full 8-hour days.</p>
        <div class="part"><span class="pl">In plain words</span><p>Design thinking has no deadline and can loop for weeks. A sprint forces the team to Understand, Ideate, Decide, Prototype and Validate in one week, so you find out quickly whether an idea is worth building.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>A startup unsure whether customers want online booking: Monday understand the problem, Tuesday sketch ideas, Wednesday pick one, Thursday build a clickable prototype, Friday test it with 5 real customers.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Name the days in order and list the 5 benefits: save time, path from product to market, prioritize the user, test before launch (save money), lower risks. Note the sprint has a <strong>Decide</strong> day, which design thinking doesn't name separately.</p></div>
        <label class="got" for="f4"><input type="checkbox" id="f4"> I understand this</label></div></details>

      <details><summary>Why interview stakeholders if UX is about users?</summary><div class="ans">
        <p class="short">Because a design must also fit business goals and technical limits. Stakeholders know those.</p>
        <div class="part"><span class="pl">In plain words</span><p>A design can delight users and still fail if it can't make money or can't be built. Stakeholder interviews give you the three sides: user needs, business goals, technical limitations. They also align the team and earn buy-in.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>Before redesigning a bank app you talk to marketing (wants more sign-ups), IT (old core system can't do instant transfers), and customer support (most complaints are about forgotten passwords).</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Key numbers: <strong>up to 5 stakeholders</strong> from <strong>different sectors</strong>. Benefits: defining goals, improving communication, sharing a cohesive vision, earning trust and buy-in.</p></div>
        <label class="got" for="f5"><input type="checkbox" id="f5"> I understand this</label></div></details>

      <details><summary>Persona, empathy map, journey map: aren't they all the same thing?</summary><div class="ans">
        <p class="short">No. Persona = <em>who</em> the user is. Empathy map = <em>what's in their head</em>. Journey map = <em>what they go through over time</em>.</p>
        <div class="part"><span class="pl">In plain words</span><p>The persona is a profile card (name, age, goals, frustrations). The empathy map is a snapshot of their says/thinks/does/feels. The journey map is a timeline of actions with feelings and improvement opportunities at each step. You usually build them in that order, and the persona appears at the top of the journey map.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>Nour (persona) → feels overwhelmed and unsure what's accurate (empathy map) → Motivation, Research, Compare, Ask an expert, getting sadder each step (journey map).</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>If a question asks for "Analysis phase deliverables" list all four: <strong>Persona, User journey map, Empathy map, Problem statement</strong>.</p></div>
        <label class="got" for="f6"><input type="checkbox" id="f6"> I understand this</label></div></details>

      <details><summary>Sitemap vs user flow: what's the difference?</summary><div class="ans">
        <p class="short">A sitemap shows the structure of all pages. A user flow shows the path one user takes to reach one goal.</p>
        <div class="part"><span class="pl">In plain words</span><p>The sitemap is a tree: Home → sections → pages. It's static, like a building's floor plan. The user flow is movement: start → steps → yes/no decisions → end goal, like the route someone walks through the building.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>Online shop sitemap: Home, Products, Cart, Account. User flow for "buy a shirt": Home → search → product page → add to cart → logged in? (no → sign in) → pay → confirmation.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Sitemap = also called <strong>IA diagram</strong> or content outline. User flow = path from <strong>entry point toward a specific goal</strong> (sign up, search, submit, purchase).</p></div>
        <label class="got" for="f7"><input type="checkbox" id="f7"> I understand this</label></div></details>

      <details><summary>Sketch, wireframe, prototype: when do I use which?</summary><div class="ans">
        <p class="short">Sketch to think fast, wireframe to fix the layout, prototype to test the experience.</p>
        <div class="part"><span class="pl">In plain words</span><p>Paper sketches are cheap and fast: throw ten away. Wireframes are digital, using only lines and boxes, to settle where things go. Prototypes are early working versions (paper, lo-fi, hi-fi) that users can click through, so you can test before developers build anything.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>A login screen: sketch 3 layouts on paper, wireframe the chosen one in Figma with grey boxes, then make a hi-fi prototype with real colors that users can tap through.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Define prototype as the step <strong>between the formalization and the evaluation of an idea</strong>, and name the 3 types: <strong>Paper, Lo-Fi, Hi-Fi</strong>.</p></div>
        <label class="got" for="f8"><input type="checkbox" id="f8"> I understand this</label></div></details>
    </div>
  </div>

  <div class="sec faqgroup">
    <h3>UX Research (Lecture 3)</h3>
    <div>
      <details><summary>What do "shallow delight" and "deep delight" mean?</summary><div class="ans">
        <p class="short">Shallow delight is decoration (animations, mascots). Deep delight is the product working exactly how you think.</p>
        <div class="part"><span class="pl">In plain words</span><p>Look at the pyramid: Functional, Reliable, Usable, then Pleasurable on top. Shallow delight tries to add the top without the base. Deep delight comes from a product that works, never fails, and is easy, so people feel good using it.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>A banking app with a cute dancing mascot but transfers that fail = shallow. A plain app where transfers always work in two taps = deep.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Draw the pyramid bottom-up (<strong>Functional → Reliable → Usable → Pleasurable</strong>) and say each level depends on the one under it.</p></div>
        <label class="got" for="f9"><input type="checkbox" id="f9"> I understand this</label></div></details>

      <details><summary>Quantitative or qualitative: how do I choose?</summary><div class="ans">
        <p class="short">Need numbers ("what", "how many")? Quantitative. Need reasons ("why", "how")? Qualitative.</p>
        <div class="part"><span class="pl">In plain words</span><p>Quantitative needs many people (100s–1000s) to be statistically significant, and tells you <em>that</em> something happens. Qualitative needs only 5–7 users and tells you <em>why</em> it happens. Strong research usually uses both.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>Analytics show 60% of users leave at the payment page (quantitative). Interviews with 6 users reveal they don't trust entering card details on an unknown site (qualitative).</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Memorize the two method lists: Quant = <strong>A/B testing, Surveys, Card sorting</strong>. Qual = <strong>Interviews, Usability tests, Focus groups</strong>.</p></div>
        <label class="got" for="f10"><input type="checkbox" id="f10"> I understand this</label></div></details>

      <details><summary>In A/B testing, why change only one thing?</summary><div class="ans">
        <p class="short">So that if the result changes, you know exactly which change caused it.</p>
        <div class="part"><span class="pl">In plain words</span><p>If you change the headline and the button color and the image at once and clicks go up, you can't tell which one helped. One change = one clear cause. Both versions also run at the same time on different visitor groups, so time of day or season doesn't bias the result.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>CandyCat: control (one photo + slogan) got 12% click-through. Treatment (clear headline "Cat Food &amp; Toy Deliveries" + 3 photos) got 21%. Treatment wins.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>List the 8 steps in order: choose → goals → analyze data → pick pages → variant → tool → accumulate → analyze. Name at least two tools (Optimizely, VWO, SiteSpect, AB Tasty).</p></div>
        <label class="got" for="f11"><input type="checkbox" id="f11"> I understand this</label></div></details>

      <details><summary>Open vs closed card sorting?</summary><div class="ans">
        <p class="short">Open: users create and name the groups. Closed: users sort into groups you already made.</p>
        <div class="part"><span class="pl">In plain words</span><p>Use <strong>open</strong> when building a new menu and you want to learn how users think about your content. Use <strong>closed</strong> when you already have categories and want to check whether users put items where you expect. Either way the output feeds the Information Architecture.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>Open: users group Shoes + Sunglasses and call it "Accessories". Closed: you give "Natural" and "Mechanical"; users place Grass and Frogs under Natural, Bus and Train under Mechanical.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>The number to remember: repeat with <strong>15–20 users</strong>. And don't forget step 4, the <strong>debrief</strong>, where users explain their groupings.</p></div>
        <label class="got" for="f12"><input type="checkbox" id="f12"> I understand this</label></div></details>

      <details><summary>Interview vs usability test: both talk to one user, so what's the difference?</summary><div class="ans">
        <p class="short">An interview asks what users think. A usability test watches what users do.</p>
        <div class="part"><span class="pl">In plain words</span><p>In an interview you ask questions about habits and opinions. In a usability test you give the user tasks on the product and observe where they get stuck. People often say one thing and do another, so you need both.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>Interview: "How do you usually book a ride?" Usability test: "Please book a ride to the airport for tomorrow at 8 am," then you watch them hunt for the date picker.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Usability testing goals: <strong>identify problems, uncover opportunities, learn behavior and preferences</strong>. Interview rule: avoid <strong>leading, closed or unclear</strong> questions.</p></div>
        <label class="got" for="f13"><input type="checkbox" id="f13"> I understand this</label></div></details>

      <details><summary>What does "synthesize" actually mean, and what's the Google Maps example showing?</summary><div class="ans">
        <p class="short">Synthesis is turning raw notes and data into a few clear insights. Google Maps shows that chain ending in a real feature.</p>
        <div class="part"><span class="pl">In plain words</span><p>After research you have piles of notes and numbers. Synthesis sorts and groups them until patterns appear, e.g. "riders memorize routes" and "landmarks matter". Those insights then point directly to a design decision.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>Delhi and Jakarta: scooter riders couldn't use a car-based map while riding → insights about memorizing routes, landmarks, languages and custom directions → Google added <strong>two-wheeler mode</strong>.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Structure the case as Company · App · Place · Background · Problem · Insights · Solution. That's exactly the slide order.</p></div>
        <label class="got" for="f14"><input type="checkbox" id="f14"> I understand this</label></div></details>
    </div>
  </div>

  <div class="sec faqgroup">
    <h3>Empathize, Define, Ideate (Lecture 4)</h3>
    <div>
      <details><summary>What does "non-linear" mean for design thinking?</summary><div class="ans">
        <p class="short">You don't have to finish phases in order. You can go back to any earlier phase when you learn something new.</p>
        <div class="part"><span class="pl">In plain words</span><p>Testing may reveal you misunderstood users, so you return to Empathize. Ideating may show the problem statement is too wide, so you return to Define. The 5 phases are a toolbox, not a one-way road.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>You prototype a dog-walker booking app, and testing shows owners care more about trust than scheduling. You go back to Define and rewrite the problem statement around safety.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Definition keywords: <strong>iterative</strong>, understand users, <strong>challenge assumptions</strong>, <strong>redefine problems</strong>, innovative solutions to prototype and test.</p></div>
        <label class="got" for="f15"><input type="checkbox" id="f15"> I understand this</label></div></details>

      <details><summary>How do I build a journey map from scratch?</summary><div class="ans">
        <p class="short">Fill the 7 parts: Persona, Scenario, Goal at the top; then Actions as columns with Task list, Feeling and Improvement rows.</p>
        <div class="part"><span class="pl">In plain words</span><p>Pick one persona and one scenario. Write the goal. Break the journey into 4–5 actions. For each action write what they do, one feeling word, and how your product could make that moment better. The bad-feeling cells are your feature ideas.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>Student submitting an assignment: Find assignment (confused) → Write it (focused) → Upload (frustrated: file too big) → Check grade (anxious). Improvements: clear deadline list, larger upload limit, grade notification.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Memory hook for the 7 parts in order: <strong>P-S-G-A-T-F-I</strong> (Persona, Scenario, Goal, Action, Task list, Feeling adjective, Improvement opportunities).</p></div>
        <label class="got" for="f16"><input type="checkbox" id="f16"> I understand this</label></div></details>

      <details><summary>User story vs problem statement: they look similar. How are they different?</summary><div class="ans">
        <p class="short">A user story says what the user wants to <em>do</em>. A problem statement says what they <em>need</em> and the insight <em>why</em>.</p>
        <div class="part"><span class="pl">In plain words</span><p>User story: "As a [user], I want to [action] so that [benefit]". It points toward a feature. Problem statement: "[Name] is a [user] who needs [need] because [insight]". It defines the problem before any solution, which is what Define is for.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>Story: "As a new English learner, I want to order food using photos so that language isn't a barrier." Problem statement: "Drew is a pet owner in a small town who needs to find a dog walker because they work the night shift."</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Write both templates exactly, with the labels under the blanks: story = <strong>who / what / why</strong>; problem statement = <strong>user name / characteristics / need / insight</strong>.</p></div>
        <label class="got" for="f17"><input type="checkbox" id="f17"> I understand this</label></div></details>

      <details><summary>5 Ws + H vs the Five Whys: when do I use each?</summary><div class="ans">
        <p class="short">5 Ws + H describe the problem fully. The Five Whys dig down to its root cause.</p>
        <div class="part"><span class="pl">In plain words</span><p>The 5 Ws + H go <em>wide</em>: who, what, where, when, why, how. The Five Whys go <em>deep</em>: you keep asking "why?" about the previous answer, up to five times, until you hit the cause behind the symptom.</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>5 Ws: students (who) miss deadlines (what) on the portal (where) at the end of term (when)… Five Whys: why miss? → didn't see it → why? → buried in a long announcement → why? → no deadline field → root cause found.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>The Five Whys came from <strong>Toyota Motor Corporation in the 1930s</strong>. Define phase methods = <strong>5 Ws and H, Five Whys, Problem statement</strong>.</p></div>
        <label class="got" for="f18"><input type="checkbox" id="f18"> I understand this</label></div></details>

      <details><summary>After brainstorming 50 ideas, how do I choose one?</summary><div class="ans">
        <p class="short">Dot voting to shortlist, then check each finalist against 4 questions.</p>
        <div class="part"><span class="pl">In plain words</span><p>Everyone gets a few sticky dots and places them on favorite ideas. The top ideas are then checked: does it meet users' needs, does it match the problem statement, is the technology available, and is it different enough from what already exists?</p></div>
        <div class="part eg"><span class="pl">Real-life example</span><p>A team's top-voted idea is a VR study room. It meets needs, but fails "is the technology available?" for most students, so the second idea (shared deadline calendar) wins.</p></div>
        <div class="part tip"><span class="pl">Exam tip</span><p>Name the 4 ideate techniques too: <strong>Brainstorm, Storyboard, Crazy 8 sketching, Focus group</strong>.</p></div>
        <label class="got" for="f19"><input type="checkbox" id="f19"> I understand this</label></div></details>
    </div>
  </div>
</section>

<!-- ===================== REVIEW ===================== -->
<section class="panel" id="review" role="tabpanel" hidden>
  <div class="sec">
    <span class="eyebrow">Self-test</span>
    <h2>Exam questions with model answers</h2>
    <p>Try to answer each question before opening it. These are built from the slides; the doctor didn't include a review slide in these lectures.</p>
    <div class="tools"><button class="tool" id="openAll">Show all answers</button><button class="tool" id="closeAll">Hide all answers</button></div>
  </div>

  <div class="sec">
    <h3>Lectures 1 &amp; 2</h3>
    <div>
      <details><summary>Compare UX design and UI design.</summary><div class="ans"><p>UX: overall experience, user needs &amp; problems, research &amp; user flows, usability &amp; testing. Asks "are we solving the right problem?". UI: the interface, visual &amp; interactive elements, layout/typography/color, screens &amp; components. Asks "is the interface clear and easy to use?".</p></div></details>
      <details><summary>Define user experience and UX design.</summary><div class="ans"><p>UX is the <strong>relationship between a product and the person using it</strong>. UX design builds products someone can <strong>easily use and enjoy using</strong>, by supporting user needs.</p></div></details>
      <details><summary>Who coined the term "User Experience", and when?</summary><div class="ans"><p><strong>Don Norman, in 1993</strong>, becoming the first User Experience Architect at Apple.</p></div></details>
      <details><summary>What four qualities do UX designers aim for?</summary><div class="ans"><p>Useful, Usable, Enjoyable, Accessible.</p></div></details>
      <details><summary>Name the six areas that make up UX fundamentals.</summary><div class="ans"><p>Visual design, Interaction design, Content strategy, User research, Business objectives, Information architecture.</p></div></details>
      <details><summary>List and explain the 5 stages of design thinking.</summary><div class="ans"><p><strong>Empathize</strong>: understand needs, thoughts, feelings. <strong>Define</strong>: write a clear problem statement. <strong>Ideate</strong>: generate solutions. <strong>Prototype</strong>: early model showing functionality. <strong>Test</strong>: users give feedback before engineers build and launch.</p></div></details>
      <details><summary>Explain the Double Diamond.</summary><div class="ans"><p>A visual of the design process for any project, whatever the tools. Diamond 1 (Research, "design the right thing"): Discover → Define, ending in a problem definition. Diamond 2 (Design, "design things right"): Develop/Test → Deliver/Listen, ending in a solution.</p></div></details>
      <details><summary>What is a Design Sprint? List its days and benefits.</summary><div class="ans"><p>A time-based process: 5 phases over 5 full 8-hour days. Understand · Ideate · Decide · Prototype · Validate. Benefits: save time, path from product to market, prioritize the user, test before launch (save money), lower risks.</p></div></details>
      <details><summary>List the 5 phases of the UX process and two deliverables of each.</summary><div class="ans"><p>Research (stakeholder interviews, competitive audits, user research) · Analysis (persona, journey map, empathy map, problem statement) · Design (user stories, sitemap, features list, IA, user flow, sketches, wireframes, UI) · Prototype (paper, lo-fi, hi-fi) · Validation (usability testing, A/B, heuristic evaluation, surveys, heat maps).</p></div></details>
      <details><summary>Who are stakeholders? Why and how do we interview them?</summary><div class="ans"><p>People or groups who can <strong>affect or be affected by</strong> the project. Why: learn user needs, business goals, technical limitations; benefits are defining goals, communication, cohesive vision, trust &amp; buy-in. How: set goals, choose up to 5 from different sectors, find them, prepare questions, document and analyze.</p></div></details>
      <details><summary>What should a problem statement include?</summary><div class="ans"><p>The <strong>background</strong> (who has the problem, what, why), the <strong>people affected</strong> and how, and the <strong>impact on the organization</strong> if unfixed. Gather facts with the 5 Ws: who, what, where, when, why.</p></div></details>
      <details><summary>What is a sitemap and why do you need one?</summary><div class="ans"><p>A map of a site's pages/screens (IA diagram, content outline) showing how they relate and how users navigate. Needed to track direction, improve communication between teams, and spot missed areas early.</p></div></details>
      <details><summary>Define heuristic evaluation.</summary><div class="ans"><p><strong>Experts</strong> evaluate the interface against <strong>established usability principles</strong> to identify usability problems.</p></div></details>
    </div>
  </div>

  <div class="sec">
    <h3>Lecture 3</h3>
    <div>
      <details><summary>Define UX research and give its benefits.</summary><div class="ans"><p>Understanding who users are, what they need, and testing designs with them. Benefits: know end-users, validate assumptions with real data, save time and resources on late changes, reduce the risk of market failure.</p></div></details>
      <details><summary>Draw the hierarchy of user needs and explain deep vs shallow delight.</summary><div class="ans"><p>Bottom to top: Functional → Reliable → Usable → Pleasurable. Shallow delight = aesthetics, animations, sounds, mascots, gamification. Deep delight = works exactly how you think and lets you get tasks done.</p></div></details>
      <details><summary>When should UX research be done?</summary><div class="ans"><p>Creating a new product · adding features · redesign · attracting new audiences · throughout the product's end-to-end lifecycle.</p></div></details>
      <details><summary>What is a research plan? List its components with an example.</summary><div class="ans"><p>A document that gives an overview and kicks off the project, co-created and shared with key stakeholders. Components: project background, research goals, research questions, KPIs (task success rate, drop-off rate, user satisfaction), methodology, participants, script (discussion guide).</p></div></details>
      <details><summary>Compare quantitative and qualitative research.</summary><div class="ans"><p>Quantitative: "what / how many", 100s–1000s of people, statistical significance; A/B testing, surveys, card sorting. Qualitative: "why / how", 5–7 users, behavior and motivation; interviews, usability tests, focus groups.</p></div></details>
      <details><summary>Define A/B testing and list its steps.</summary><div class="ans"><p>Two variants of the same page shown to different visitor segments at the same time to compare conversions. Steps: choose element → set goals → analyze existing data → select pages → create a variant (one change) → choose a tool → accumulate data → analyze statistics.</p></div></details>
      <details><summary>Give four best practices for designing a survey.</summary><div class="ans"><p>Keep it short and simple · be clear (one thing per question, pre-test) · check for bias (offer a range of options) · structure well (simple first, complex last).</p></div></details>
      <details><summary>Explain card sorting, its two types, and its steps.</summary><div class="ans"><p>Users organize topics into groups to build an IA that matches expectations. Open: users create and name groups. Closed: researchers' groups. Steps: choose topics → user groups cards → user names groups → debrief → repeat with 15–20 users → analyze.</p></div></details>
      <details><summary>How do you conduct a good user interview?</summary><div class="ans"><p>Set a goal · make the user comfortable · prepare questions · avoid leading, closed or unclear questions · prepare more questions than needed · practice follow-ups.</p></div></details>
      <details><summary>Define usability testing; list its goals and steps.</summary><div class="ans"><p>Testing ease of use with real users who complete tasks while observed. Goals: identify problems, uncover improvements, learn behavior/preferences. Steps: plan → recruit → design tasks → run session → analyze insights.</p></div></details>
      <details><summary>Describe the Google Maps synthesis example.</summary><div class="ans"><p>In Delhi and Jakarta two-wheelers dodge traffic, but maps were built for cars. Insights: riders memorize routes, landmarks matter, more languages needed, directions should be customized. Result: two-wheeler mode.</p></div></details>
    </div>
  </div>

  <div class="sec">
    <h3>Lecture 4</h3>
    <div>
      <details><summary>Define design thinking and why it matters.</summary><div class="ans"><p>An iterative, non-linear process to understand users, challenge assumptions, redefine problems and create innovative solutions to prototype and test. Matters because it solves customer requirements, tackles unclear problems, drives innovation, and makes organizations faster and more efficient.</p></div></details>
      <details><summary>What is empathy and why design with it?</summary><div class="ans"><p>The ability to understand someone's feelings or thoughts in a situation. It improves products, reveals pain points, and finding it early avoids extensive revisions later.</p></div></details>
      <details><summary>Define pain points and list their types.</summary><div class="ans"><p>UX issues that upset users and block them from what they need. Types: Financial, Process, Productivity, Support.</p></div></details>
      <details><summary>What is a persona and how is it created?</summary><div class="ans"><p>A fictional user whose goals and characteristics represent a larger group, created through user research by identifying common pain points.</p></div></details>
      <details><summary>Define a user journey map and list its components.</summary><div class="ans"><p>A diagram of the process and experiences a person goes through to accomplish a goal. Components: Persona, Scenario, Goal, Action, Task list, Feeling adjective, Improvement opportunities.</p></div></details>
      <details><summary>What happens in the Define phase? List its methods.</summary><div class="ans"><p>Organize the Empathize findings and define core user problems, keeping the team aligned. Methods: 5 Ws and H, the Five Whys, problem statement.</p></div></details>
      <details><summary>Write a problem statement using the template.</summary><div class="ans"><p>"[User name] is a [user characteristics] who needs [user need] because [insight]." e.g. Drew is a pet owner in a small town who needs to find and schedule a dog walker because they work the night shift.</p></div></details>
      <details><summary>Explain the Five Whys technique.</summary><div class="ans"><p>An iterative technique from Toyota in the 1930s: ask "why?" up to five times, moving from effect to cause, to expose the root cause and find effective solutions.</p></div></details>
      <details><summary>List the Ideate techniques and how ideas are selected.</summary><div class="ans"><p>Brainstorm, Storyboard, Crazy 8 sketching, Focus group. Select by post-it/dot voting, then check: fits needs and goals? meets the problem statement? technology available? different enough to add value?</p></div></details>
    </div>
  </div>

  <div class="sec">
    <h2>Frameworks side by side</h2>
    <div class="tbl"><table>
      <thead><tr><th>Framework</th><th>Steps</th><th>Key idea</th></tr></thead>
      <tbody>
        <tr><td>User-Centered Design</td><td>Understand → Specify needs → Design → Evaluate (loop)</td><td>User front-and-center</td></tr>
        <tr><td>Design Thinking</td><td>Empathize → Define → Ideate → Prototype → Test</td><td>Iterative, non-linear</td></tr>
        <tr><td>Double Diamond</td><td>Discover → Define | Develop → Deliver</td><td>Right thing, then things right</td></tr>
        <tr><td>Design Sprint</td><td>Understand → Ideate → Decide → Prototype → Validate</td><td>Time-boxed: 5 × 8-hour days</td></tr>
        <tr><td>UX Process</td><td>Research → Analysis → Design → Prototype → Validation</td><td>Each phase has deliverables</td></tr>
        <tr><td>Research phases</td><td>Plan → Research → Synthesize → Share</td><td>How one study runs</td></tr>
      </tbody>
    </table></div>
  </div>

  <div class="sec">
    <h2>Numbers to remember</h2>
    <div class="gloss">
      <div><span>Term "User Experience" coined</span><span class="mono">1993</span></div>
      <div><span>Design sprint</span><span class="mono">5 days × 8 h</span></div>
      <div><span>Stakeholders to interview</span><span class="mono">up to 5</span></div>
      <div><span>Qualitative sample</span><span class="mono">5–7 users</span></div>
      <div><span>Quantitative sample</span><span class="mono">100s–1000s</span></div>
      <div><span>Card sorting participants</span><span class="mono">15–20</span></div>
      <div><span>A/B example (CandyCat)</span><span class="mono">12% vs 21%</span></div>
      <div><span>Five Whys origin</span><span class="mono">Toyota, 1930s</span></div>
      <div><span>Research plan parts</span><span class="mono">7</span></div>
      <div><span>Journey map parts</span><span class="mono">7</span></div>
    </div>
  </div>

  <div class="sec">
    <h3>Key terms in Arabic</h3>
    <div class="gloss">
      <div><span>User experience</span><span class="ar">تجربة المستخدم</span></div>
      <div><span>User interface</span><span class="ar">واجهة المستخدم</span></div>
      <div><span>Stakeholders</span><span class="ar">أصحاب المصلحة</span></div>
      <div><span>Persona</span><span class="ar">الشخصية الافتراضية</span></div>
      <div><span>Empathy map</span><span class="ar">خريطة التعاطف</span></div>
      <div><span>User journey map</span><span class="ar">خريطة رحلة المستخدم</span></div>
      <div><span>Pain points</span><span class="ar">نقاط الألم</span></div>
      <div><span>Problem statement</span><span class="ar">بيان المشكلة</span></div>
      <div><span>Information architecture</span><span class="ar">هيكلة المعلومات</span></div>
      <div><span>Wireframe</span><span class="ar">المخطط الهيكلي</span></div>
      <div><span>Prototype</span><span class="ar">النموذج الأولي</span></div>
      <div><span>Usability testing</span><span class="ar">اختبار قابلية الاستخدام</span></div>
      <div><span>Card sorting</span><span class="ar">فرز البطاقات</span></div>
      <div><span>Root cause</span><span class="ar">السبب الجذري</span></div>
    </div>
  </div>
</section>

</div></main>

<script type="text/plain" id="mm1">
UX Fundamentals
  UX vs UI
    UX — overall experience, needs, research, testing
    UI — visuals, layout, typography, components
    UX asks — right problem?
    UI asks — clear & easy?
    Don Norman — coined UX in 1993, Apple
  What UX Designers Do
    Useful · Usable · Enjoyable · Accessible
    Skills — research, psychology, visual, business, communication, critical thinking
    Careers — specialized abroad, UI/UX combined locally
    Hirers — start-ups, freelance, agencies, big tech
  UX Fundamentals
    Visual design · Interaction design
    Content strategy · User research
    Business objectives · Information architecture
  Frameworks
    User-Centered Design — understand, specify, design, evaluate
    Design Thinking — empathize, define, ideate, prototype, test
    Double Diamond — right thing, then things right
    Design Sprint — 5 days, understand to validate
    No right one — UX is a soft science
  UX Process
    1 Research
      Stakeholder interviews — needs, business, tech
      Competitive audits — market research
      User research — meetings, focus groups, surveys
    2 Analysis
      Persona — who we design for
      Journey map — experience over time
      Empathy map — says, thinks, does, feels
      Problem statement — 5 Ws
    3 Design
      User stories — as a / I want / so that
      Sitemap — IA diagram
      Features list
      User flow — entry to goal
      Sketches → wireframes → UI
    4 Prototype
      Paper · Lo-Fi · Hi-Fi
    5 Validation
      Usability testing · A/B testing
      Heuristic evaluation — experts vs principles
      Surveys · Heat maps
</script>
<script type="text/plain" id="mm2">
UX Research
  Definition
    Who users are, what they need, test with them
    Benefits — know users, validate assumptions, save time, lower risk
  User Needs
    Functional → Reliable → Usable → Pleasurable
    Shallow delight — looks, animations, mascots
    Deep delight — works how you think
  When
    New product · new features · redesign
    New audiences · whole lifecycle
  Phases
    Plan · Research · Synthesize · Share
  Research Plan
    Background · Goals · Questions
    KPIs — success, drop-off, satisfaction
    Methodology · Participants
    Script — discussion guide
  Quantitative
    What / how many — 100s–1000s
    A/B testing — 8 steps, one change
    Surveys — short, clear, unbiased, structured
    Card sorting — open / closed, 15–20 users
  Qualitative
    Why / how — 5–7 users
    Interviews — no leading questions
    Usability tests — observe tasks, 5 steps
    Focus groups
  Synthesize
    Raw data → insights
    Google Maps — two-wheeler mode
</script>
<script type="text/plain" id="mm3">
Empathize · Define · Ideate
  Design Thinking
    Iterative & non-linear
    Challenge assumptions, redefine problems
    Why — requirements, unclear problems, innovation, speed
  Empathize
    Empathy — understand feelings & thoughts
    Methods — 11 tools, interviews are only the start
    Empathy map — said, did, thought, felt
    Pain points — financial, process, productivity, support
    Persona — represents a larger group
    Journey map
      Persona · Scenario · Goal
      Action · Task list
      Feeling adjective · Improvement opportunities
    User story — who, what, why
  Define
    Organize findings into core problems
    5 Ws and H — who, what, where, when, why, how
    Five Whys — Toyota 1930s, root cause
    Problem statement — name, user, need, insight
  Ideate
    Benefits — creativity, innovation, teamwork
    Techniques — brainstorm, storyboard, Crazy 8, focus group
    Select — dot voting + 4 questions
</script>
<script>
const tabs=[...document.querySelectorAll('nav.tabs button')], panels=[...document.querySelectorAll('section.panel')];
function show(id, scroll){
  if(!panels.some(p=>p.id===id)) id='l1';
  panels.forEach(p=>p.hidden=p.id!==id);
  tabs.forEach(t=>t.setAttribute('aria-selected', t.dataset.t===id));
  try{ localStorage.setItem('ui-tab', id) }catch(e){}
  if(scroll) window.scrollTo({top:0});
}
tabs.forEach(t=>t.addEventListener('click',()=>{ show(t.dataset.t,true); history.replaceState(null,'','#'+t.dataset.t) }));
let start=location.hash.slice(1); if(!start){ try{ start=localStorage.getItem('ui-tab')||'' }catch(e){} }
show(start||'l1');
document.getElementById('openAll').onclick=()=>document.querySelectorAll('#review details').forEach(d=>d.open=true);
document.getElementById('closeAll').onclick=()=>document.querySelectorAll('#review details').forEach(d=>d.open=false);

// FAQ: "I understand this" ticks (saved per browser), progress, search + hide-understood filter
const faqBoxes=[...document.querySelectorAll('#faq .got input[id^="f"]')];
let done=new Set(); try{ done=new Set(JSON.parse(localStorage.getItem('ui-faq-done')||'[]')) }catch(e){}
function syncFaq(){
  faqBoxes.forEach(b=>b.closest('details').classList.toggle('done',b.checked));
  document.getElementById('progText').textContent=`${faqBoxes.filter(b=>b.checked).length} of ${faqBoxes.length} understood`;
  document.getElementById('progBar').style.width=(100*faqBoxes.filter(b=>b.checked).length/faqBoxes.length)+'%';
}
function filterFaq(){
  const q=document.getElementById('faqSearch').value.trim().toLowerCase(), hide=document.getElementById('hideDone').checked; let any=false;
  document.querySelectorAll('#faq .faqgroup').forEach(g=>{
    let n=0;
    g.querySelectorAll('details').forEach(d=>{
      const hit=(!q||d.textContent.toLowerCase().includes(q)) && !(hide&&d.classList.contains('done'));
      d.hidden=!hit; if(q) d.open=hit; if(hit) n++;
    });
    g.hidden=!n; if(n) any=true;
  });
  document.getElementById('faqNone').hidden=any;
}
faqBoxes.forEach(b=>{ b.checked=done.has(b.id); b.addEventListener('change',()=>{
  b.checked?done.add(b.id):done.delete(b.id);
  try{ localStorage.setItem('ui-faq-done',JSON.stringify([...done])) }catch(e){}
  syncFaq(); if(document.getElementById('hideDone').checked) filterFaq();
})});
document.getElementById('faqSearch').addEventListener('input',filterFaq);
document.getElementById('hideDone').addEventListener('change',filterFaq);
syncFaq();

// mind maps: 2-space indented outline -> nested list
function parseOutline(txt){
  const root={kids:[]}, stack=[{d:-1,node:root}];
  txt.split('\n').filter(l=>l.trim()).forEach(l=>{
    const d=l.search(/\S/)/2, node={t:l.trim(),kids:[]};
    while(stack[stack.length-1].d>=d) stack.pop();
    stack[stack.length-1].node.kids.push(node); stack.push({d,node});
  });
  return root.kids[0];
}
function renderNode(node){
  const li=document.createElement('li'), el=document.createElement(node.kids.length?'button':'span');
  el.className='n';
  const [label,detail]=node.t.split(' — ');
  el.append(label);
  if(detail){ const i=document.createElement('i'); i.textContent=' — '+detail; el.append(i) }
  li.append(el);
  if(node.kids.length){
    el.dataset.k=node.kids.length; el.setAttribute('aria-expanded','true');
    const ul=document.createElement('ul'); node.kids.forEach(k=>ul.append(renderNode(k))); li.append(ul);
  }
  return li;
}
document.querySelectorAll('.mm').forEach(mm=>{
  mm.append(renderNode(parseOutline(document.getElementById(mm.dataset.src).textContent)));
  mm.addEventListener('click',e=>{
    const b=e.target.closest('button.n'); if(!b) return;
    const shut=b.parentElement.classList.toggle('shut'); b.setAttribute('aria-expanded',!shut);
  });
});
const fsOK=document.fullscreenEnabled;
document.querySelectorAll('[data-mm]').forEach(b=>{
  const box=b.closest('.sec').querySelector('.mmx'), mm=box.querySelector('.mm');
  if(b.dataset.mm==='full'){ if(!fsOK){ b.hidden=true; return } b.onclick=()=>box.requestFullscreen().catch(()=>{}); return }
  b.onclick=()=>{
    mm.querySelectorAll('li').forEach(li=>li.classList.remove('shut'));
    if(b.dataset.mm==='collapse') mm.querySelectorAll(':scope>li>ul>li').forEach(li=>{ if(li.querySelector('ul')) li.classList.add('shut') });
    mm.querySelectorAll('button.n').forEach(n=>n.setAttribute('aria-expanded',!n.parentElement.classList.contains('shut')));
  };
});
</script>

</body></html>