Count how many letters a text has with the Length block.

This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on.


The steps

  1. We add a While loop, which repeats forever.
  2. We create a text variable called text with the value Hello.
  3. We create a number variable called length.
  4. Inside the loop we set length to the Length block.
  5. We drag the variable text into the slot of Length.
  6. On the dashboard we draw a label.
  7. And we drag the variable length onto the label.

When you finish, the app takes you straight to the next tutorial in the path.

Build it in Nairda