Capitalizing is capitalizing my frustation


#1

I'm having problems with capitalization in Putting the Form in Formatter. In the module, things are capitalizing properly, but I keep getting an error message

https://www.codecademy.com/courses/ruby-beginner-en-MxXx5/0/6?curriculum_id=5059f8619189a5000201fbc.

The city, state, and name are capitalizing properly in the final sentence in the module, even when I don't capitalize them in my initial input. However, I still get this message: "Make sure to capitalize! on first_name, last_name, and city"


#2

You need to call the capitalize method with an exclamation point at the end for all your user input's,

first_name = gets.chomp.capitalize!


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.