databaseReact Foundations – Components & Rendering

Your will Build a Users Card system using the provided:

  • users.js

  • Theme styles

  • No additional data

🎯Objective

  • Component structure

  • Component structure

  • Conditional rendering

  • Image fallback logic

📂 Required Structure

src/
 ├── assets/
 │     ├── users.js
 │     ├── profile.svg
 ├── App.css
 ├── UserCard.jsx
 ├── App.jsx
 ├── index.css
 └── main.jsx

🛠 Task Steps

Create UserCard Component

  • Import users

  • Use .map() to render all participants

  • Each participant must render <UserCard/>

  • Do NOT render data directly inside App.js

circle-info

Card must display:

  • Profile Image

  • Username

  • Team

  • Online Status

circle-check

📤 Deliverables

Your submission must include:

  • ✅ Correct .map() usage

  • ✅ Correct conditional rendering

  • ✅ Respecting styling rules

triangle-exclamation

databaseStyle & Data BasereactStart the React Task

circle-exclamation

Last updated

Was this helpful?