🎯 What you'll practice: Props, destructuring, conditional rendering, and callback props.
1-B 2-B 3-B 4-B | 5 = signature 6 = B 7 = function ProductCard({name}){return <h2>{name}</h2>;} 8 = <ProductCard name="Mug" /> 9 = Because props are owned by the parent that passed them; React's one-directional data flow means only the parent (usually via its own state) can change what it hands down | 10 = function CourseCard({title,free,onEnroll}){return <div><h2>{title}</h2>{free && <span>FREE</span>}<button onClick={()=>onEnroll(title)}>Enroll</button></div>;}