Instantly share code, notes, and snippets.

Embed
What would you like to do?
elsif example in Ruby
if x > 4
if x < 6
alert "Correct!"
end
elsif x == 4
alert "Correct!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment