What did I do wrong here?


#1

counter = 1
until counter < 10
puts counter
# Add code to update 'counter' here!
counter += 1
end


#2

until counter < 10

This is telling your loop to stop once counter is below 10. But since counter starts with a value of 1, it is already below 10, thus your loop stops instantly.


#3

You should intead do this

count = 1
until count == 11
puts count
count +=1
end