Mini Challenge Answer

Topic: Jit-React

Lesson: Components

One valid mini-challenge answer: keep only the smallest pieces needed to show Components.

function StatusCard( props )
{
    return <section className="card">
        <h2>{props.title}</h2>
        <p>{props.message}</p>
    </section>;
}

// Safe change: Components practice

Why this is correct: it has one visible result, one safe editable part, and nothing extra to distract the learner.