Skip to content
Academy
0/15

Routes

On this page

Design with Milpa · Unit 2 of 3

Design gives language; Academy gives behavior

Milpa Design publishes CSS and contracts, not JavaScript. Academy controls routing, progress, curriculum data and verifiers. Its ac-* classes stitch the educational case together without redefining stable components.

Intermediate30 min

By the end, you'll be able to

  • Keep logic out of the CSS package
  • Create a local composition without duplicating mui-* anatomy

Understand

Milpa Design publishes CSS and contracts, not JavaScript. Academy controls routing, progress, curriculum data and verifiers. Its ac-* classes stitch the educational case together without redefining stable components.

See

Open the gallery

The mui-plot, mui-pipeline, mui-gate and mui-replay pieces receive scenarios and state from Academy.

Do

Run the practice in your checkout and keep the output as evidence.

Verify

Show that you can apply the unit. Progress only advances once you pass the assessment.

Criteria assessed

  • Separate Academy's logic from the published CSS contract.
  • Tell a specific ac-* composition apart from a generic component.

Graded assessment

Solve the 3 scenarios. This unit requires 3 of 3 correct answers.

0 attempts
Question 1 of 3Academy adds a quiz that grades answers, unlocks units and saves progress. How are the responsibilities divided?
Question 2 of 3The quiz combines existing choices, callouts and progress, but needs a lesson-specific layout. Which strategy preserves the boundaries?
Question 3 of 3To reuse a card, someone proposes adding logic to @milpa/design that reads localStorage, knows Academy's routes and marks a unit as passed. Which decision is correct?

Grading validates answers in this browser; it doesn't certify identity.

Primary sources

Content verified: 2026-07-10