×

ruby · level 1 · unit 1 · lesson 2

  1. meet it
  2. guess first
  3. your turn
  4. fix it
  5. nailed it

Tap a green word if you get lost.

meet it

shows a message on the screen.

puts is a command that shows a message on the screen. Write puts, a space, then the message you want to see.

Words go inside quote marks, like "Hello, world!". A piece of text in quotes is called a . Picture the letters threaded on a string, like beads. puts is short for put string.

The quotes tell Ruby where your text starts and stops. They are not shown on the screen.

puts "Hello, world!"

Use the same quote mark at both ends of your string.