Change Predict Answer

Topic: Jit-React

Lesson: Components

Answer: make one small change only, then compare the result.

Safe change: Rename the visible label to "Components practice" and leave the structure the same.

Before

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

After

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

// Safe change: Components practice

Prediction: only the visible wording or named value should change. The structure should still work the same way.