StoicBuilder
Your missionMission 1: First day at Ludus LabsBack to HQ
Exit lesson
ObjectsFreeLesson 2 of 45, about 5 min
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
0 XP

The app: Chirp

ChirpHome
MMaya Okafor@mayabuilds

Shipped the notes page tonight. Fingers crossed.

4

The data behind it

post one object, 6 properties
{ "author": { "name": , "handle": }, "text": , "likes": , "likedByMe": , "replies": , "reposts": }
PostCard.jsx what the card reads
1<b>{post.author.name}</b>2<span>@{post.author.handle}</span>3<p>{post.text}</p>4<Likes count={post.likes} liked={post.likedByMe} />5<Replies count={post.replies} />6<Reposts count={post.reposts} />

The MagisterThis post is one object: a bundle of named values that belong together. Each name is a property. Every part of the card on the left comes from one property on the right. Tap the value of text.

Step 1 of 6Tap the text of the post
  • Tap the value of text in the object

You’re not signed in, so this lesson won’t be saved to your path. Sign in free to keep your XP.