Completed Example

Topic: Jit-React

Lesson: Components

Completed answer: the example is complete when the learner can copy it, run or inspect it, and point to the visible result.

Expected result: a small working Components example with one clear output.

Completed example

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

What to check: The page still loads, the main idea is visible, and no extra unrelated change was made.