Learn how React components work by changing the code above!
Role: Student
// 🎯 These variables control the entire page:
const showWelcome = true
const appName = "My Awesome App"
const theme = "modern"Variables at the top control how components render
{showWelcome && (
<WelcomeCard userName={userName} />
)}Components only show when conditions are true
<WelcomeCard
userName={userName}
userRole={userRole}
theme={currentTheme}
/>Props pass data from parent to child components
showWelcome to falseisLoggedIn between true/falseenableAnimations = false