Skip to content

Build an Adaptive Next-Lesson UI

Intermediate~14 min0/4 steps

Content That Adapts

The best learning meets each student where they are. A student who aced the quiz needs a challenge; one who struggled needs review. In this lesson you'll build an adaptive 'recommended next lesson' UI that suggests a path based on performance.

You'll create three labeled recommendation cards, one for each performance level: a review path for students who need more practice, a steady path for those on track, and a stretch path for high performers. Clear labels and color cues make the right choice obvious.

This is where AI-built content earns its keep, no two students see exactly the same next step. Follow the steps and watch your adaptive UI come together.

Instructions

1

Add a page heading 'Recommended Next Lesson' and a short subtitle explaining the path adapts.

Hint: Use `<h1 class="text-3xl font-bold">Recommended Next Lesson</h1>` followed by a `<p>` subtitle.

Where does this go?

<!-- Build your adaptive recommendation UI here -->

Write it on line 11 — under that comment, after the code you already added.

2

Create a responsive grid container to hold the three recommendation cards.

3

Add three rounded-xl cards, each with a performance-level label span (for example 'Needs Review').

4

Give each card a call-to-action button so the student can start that path.

Your Code

html
13 lines
1
2
3
4
5
6
7
8
9
10
11
12
13

Live Preview

Live Preview