Can anybody help please?
Got stuck on this Sinatra challenge...
require "sinatra" get "/:word" do @word = params[:word] erb :word end
<h1><%= @word %></h1> <p>Backwards: <%= @word.reverse %></p> <p>Uppercase: <%= @word.uppercase %></p> <p>Length: <%= @word.length %></p>
Jay McGavrenTreehouse Teacher
You just need to call
@word.upcase instead of
@word.uppercase. After that it should pass.
The preview is admittedly not much help in figuring this out. I think it may have a bug. We're looking into that now.