So I am going through CodeAcademy's Ruby Module and am on this section : Putting The Form In The Formatter - Repeat For More Input :
This is the prompt ---
first_name = gets.chomp("What is your first name?")
last_name = gets.chomp("What is your last name?")
city = gets.chomp("What city are you from?")
city = gets.chomp("What state are you from?")
When I Click Save and Submit code and enter my details :
I get this output :
and this error message :
Oops, try again. Did you declare a variable called state ?
Any suggestions on how to fix it ?
Thanks alot ....