ACE AI Startup BootcampDay 6: Frontend and UI Development
← Back to LMS Classroom
DAY 6 TEXTBOOKACE Startup SW/AI Pilot
ACE AI Startup Bootcamp Textbook Series 06

Frontend and UI Development

A self-study textbook covering essential theory, comparative examples, guided practice, quality review, and a capstone exercise. Central question: How do we build a fast, accessible interface that communicates every state change?

ACE AI Startup Bootcamp | Day 6Study Guide
HOW TO STUDY

Learning Goals and Study Routine

How do we build a fast, accessible interface that communicates every state change? You complete today’s lesson when you can answer this question in your own words, produce the required artifact, and review its quality.

Theory: 60 minPractice: 90 minReview: 30 min
01

Explain the browser rendering pipeline.

02

Divide component and state responsibilities.

03

Design loading, success, empty, and error states.

04

Apply responsive layout and accessibility.

05

Understand Core Web Vitals.

06

Review UI quality across behavior, visuals, and accessibility.

Recommended self-study routine

  1. Explain why a problem occurs before memorizing its terminology.
  2. Describe the difference between good and poor examples using observable criteria.
  3. Attempt the capstone before opening the model answer.
  4. Mark missing conditions in a second color and revise your artifact.
ACE AI Startup Bootcamp | Day 6Table of Contents
CONTENTS

Table of Contents

Completion standard

Submit the capstone artifact, score at least 80/100 on the self-review, and write your own answers to the four concept questions.

ACE AI Startup Bootcamp | Day 6Chapter 1 · Core Theory
CHAPTER 01

Core Theory: Frontend and UI Development

Each technical term exists to solve a recurring design problem. Study when and why the concept is needed, not merely its definition.

Core conceptWorking definition
DOM / CSSOMThe trees the browser creates from HTML and CSS.
ComponentA reusable UI unit with one coherent responsibility.
StateData that changes over time and affects the interface.
Semantic HTMLMarkup that communicates meaning to browsers and assistive technology.
Responsive DesignA layout that adapts to viewport size and input method.
Web VitalsUser-centered measures of loading, responsiveness, and visual stability.

Poor and Effective Approaches

Avoid

Show a blank screen while data loads and write errors only to the console.

Prefer

Provide content-shaped loading feedback, a specific error with retry, and an empty state with the next action.

Design formula

[User Goal] → [Component Responsibilities] → [State Model] → [Accessibility] → [Responsive Layout] → [Performance and Feedback]

ACE AI Startup Bootcamp | Day 6Chapter 2 · Guided Practice
CHAPTER 02

A Six-Step Design Workflow

1

Define the problem

Define the user task and information hierarchy in a wireframe.

2

Extract the structure

Split components by responsibility and assign state ownership.

3

Design the core flow

Model idle, loading, success, empty, and error before implementation.

4

Add failure conditions

Implement keyboard access, focus, labels, and contrast.

5

Connect policies

Inspect layout and touch targets at 375, 768, and 1024 pixels.

6

Verify and trace

Measure LCP, INP, CLS, and console errors, then improve them.

Worked Example

State-driven UI pseudocode
if (state === 'loading') return <ReservationSkeleton />; if (state === 'error') return <ErrorMessage onRetry={reload} />; if (reservations.length === 0) { return <EmptyState action="Create your first reservation" />; } return <ReservationList items={reservations} />;

Questions for reading the example

  • Are the input and initiating condition explicit?
  • Are success and failure outcomes observable?
  • Are duplication, authorization, concurrency, and dependency failure covered as needed?
  • Can the result be traced back to a requirement?
ACE AI Startup Bootcamp | Day 6Chapter 3 · Review
CHAPTER 03

Concept Check and Quality Review

CONCEPT CHECK
  1. Why should all state not automatically be global?
  2. How does semantic HTML improve accessibility?
  3. How does a high CLS hurt users?
  4. Why does hover-dependent design fail on mobile?

Answer each in two or three sentences and add one example that supports your explanation.

Self-Assessment · 100 points

AreaStandardPoints
AccuracyConcepts and technical choices match the facts and requirements.25
CompletenessNormal flow, boundaries, failures, and recovery are covered.25
ConsistencyTerms, IDs, states, and interfaces agree across artifacts.20
VerifiabilityObservable outcomes and completion criteria are present.20
ReasoningThe choice and its tradeoffs can be explained clearly.10
If your score is below 80

Do not only correct the result. Record which question you failed to ask so your next design process prevents the same omission.

ACE AI Startup Bootcamp | Day 6Chapter 4 · Capstone
CHAPTER 04

Capstone Exercise and Model Answer

SUBMISSION

Design a reservation-list screen. Define mobile and desktop layouts plus loading, empty, error, and success states.

  1. List assumptions and unresolved decisions first.
  2. Produce the main design as a table, diagram, or code block.
  3. Include the normal flow and at least three failures or boundaries.
  4. Score it with the rubric and compare before and after revision.
Open the model answer

On mobile, place the essential status and next action first and keep targets at least 44px. Match the loading skeleton to real rows, give errors a cause and retry action, and provide a first-reservation action in the empty state.

How to use the answer

The model is not the only valid design. If yours differs, explain the requirement, cost, complexity, or risk that justifies your choice.

ACE AI Startup Bootcamp | Day 6Lesson Review
REVIEW

Glossary and Final Checklist

TermPlain-English meaning
ReflowRecalculation of layout.
HydrationConnecting client behavior to server-rendered HTML.
ARIAA standard for supplementing accessibility semantics.
LCPThe time until the main content becomes visible.
INPResponsiveness to user input.
CLSThe amount of unexpected visual movement.

Eight checks before submission

  1. Can you answer today’s central question in your own words?
  2. Are inputs, conditions, and results explicit?
  3. Did you include failures and recovery, not only the happy path?
  4. Did you review concurrency, duplicate requests, and permissions?
  5. Did you account for dependency failure and timeouts?
  6. Can you explain the disadvantages and alternatives to your choice?
  7. Are terminology and states consistent across artifacts?
  8. Is there an observable or testable completion standard?
Day 6 in one question

How do we build a fast, accessible interface that communicates every state change? Answer it now using evidence from the artifact you created.

ACE AI Startup Bootcamp | Day 6Self-study reference
SELF-STUDY 01

Key Terms in Context

Learn each term as a decision tool. Read across each row: definition, reason to use it, and the failure it prevents.

TermPlain definitionWhy it mattersExample or caution
ComponentA reusable UI unit with one clear responsibility.It isolates concerns and limits change impact.Split by responsibility rather than arbitrary size.
StateData that changes over time and affects what the UI shows.It determines the visible interface.Separate server state from in-progress form state.
EventA signal such as a click, input, or response that triggers a transition.It connects user action to logic.Prevent duplicate submission while an event is processing.
Responsive designA layout that adapts to available screen size.It supports mobile, tablet, and desktop use.Choose breakpoints where content breaks, not by device name.
AccessibilityUsability through different abilities and assistive technologies.Keyboard and screen-reader users must complete the same task.Verify semantic HTML, labels, focus order, and contrast.
Loading/error stateThe UI representation of an asynchronous request in progress or failure.It explains current status and the next action.Show a retry path instead of a blank screen.
Practice scenario

Build a mobile-first product list that loads data, supports search, and adds items to a cart.

ACE AI Startup Bootcamp | Day 6Guided practice
SELF-STUDY 02

Guided Practice and Troubleshooting

Practice scenario

Build a mobile-first product list that loads data, supports search, and adds items to a cart.

Complete in order

  1. List the data, actions, and states before drawing the screen.
  2. Implement loading, success, empty, and error views separately.
  3. Complete the main flow with a keyboard and at 320px width.
  4. Simulate latency and repeated clicks to verify transitions.
Required evidence

Save one artifact, three assumptions, and at least three failure cases. A classmate should be able to reproduce your reasoning without asking what you meant.

If the result is wrong, diagnose it

Observed symptomLikely causeNext action
Repeated click duplicates workPending state is unmanagedDisable during progress and enforce server idempotency
Table clips on mobileFixed width layoutSwitch to cards or define horizontal scrolling
Screen reader cannot identify an inputMissing labelAssociate a label with the input
ACE AI Startup Bootcamp | Day 6Retrieval practice
SELF-STUDY 03

Check Your Understanding

Retrieval check — answer before opening

How does state differ from a normal variable?

A state change participates in rendering; changing a plain variable usually does not trigger a UI update.

Can accessibility wait until the end?

It can, but remediation is costly. Design structure, keyboard use, and contrast from the start.

When is the UI complete?

Major states and failure paths work across screen sizes and input methods.

Teach it back in two minutes

Explain the day's main decision, one failure mode, and one verification method without reading the page. If you cannot connect all three, return to the row or diagnostic case you missed.