LoopsProLesson 6 of 45, about 5 min
- 1
- 2
- 3
- 4
- 5
- 6
The app: Guildhall
GuildhallThe Quill Makers · Members
4 members, 2 online
MMaya OkaforFounder
TTheo LindqvistModerator
AAna RuizMember
SSam ParkMember
The data behind it
MembersPage.jsx draws the rows
1<ul>2 {members.map((m) => (3 <MemberRow key={m.name} member={m} />4 ))}5</ul>
members the array4 items
[
{ "name": , "role": , "online": },
{ "name": , "role": , "online": },
{ "name": , "role": , "online": },
{ "name": , "role": , "online": }
]
The MagisterOn the left, the Members page of The Quill Makers. On the right, the members array behind it and the code that draws the rows. Four items in the array, four rows on the page. Tap Theo’s name in the array.
Step 1 of 6Tap Theo’s name in the data
- Tap
"Theo Lindqvist"inmembers
You’re not signed in, so this lesson won’t be saved to your path. Sign in free to keep your XP.