Module 5 · Check it yourself · challenge 1 of 2 in this lesson

A CoinCounter component takes coins as a prop and shows Coins: 0

You compare your work with the list of what done means.

Open

Level 1, Apprentice

Challenge

Write a CoinCounter component that shows a coin count passed in as a prop.

Start from
The game at milestone m09 (download)

Done means

  • A CoinCounter component takes coins as a prop and shows Coins: 0
  • It is rendered through ReactRoblox.createRoot and createPortal into PlayerGui
  • Changing the prop in code changes the label on the next Play

Meet the criteria above, then record your own result. No test grades this check.