🎯 What you'll practice: Functional components, JSX, and passing data via props.
1-B 2-B 3-B 4-B | 5 = createElement 6 = props 7 = function Greeting({name}){return <p>Hello, {name}!</p>;} 8 = <Greeting name="Sam" /> 9 = Props are owned and controlled by the parent; React's one-way data flow means only the parent that passed a prop can change it (usually by updating its own state), keeping data flow predictable and traceable | 10 = function ProductCard({title,price,onAddToCart}){return <div><h3>{title}</h3><p>${price}</p><button onClick={onAddToCart}>Add to Cart</button></div>;} used as <ProductCard title="Mug" price={12} onAddToCart={handleAdd} />