Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
What's wrong with this code
Challenge Task 3 of 3
Have the route return a string as the response. It can be any string you want. ("Hello,.....
require 'sinatra' get '/hello' do put ("Hello, web!") end end
I understand that you are trying to use "puts" to return a string in this challenge. But all you really need to do is return the string itself. So:
require 'sinatra' get '/hello' do "Hello, web!" end