Christopher Phillips10,049 Points
Error with code evaluation? Task 3 of 3
I'm stuck in this challenge. There are 3 very simple steps required to complete it.
First, require the sinatra library:
Next, perform an HTTP get request where the path is /hello
get '/hello' do end
At this point, I've passed task 2 which tells me I've entered the block correctly. The 3rd task is to return a string when the get request runs. My complete code is as follows
require 'sinatra' get '/hello' do "Hello, web!" end
It errors out telling me "we couldn't find the block associated with your "get '/hello'" command. I have no idea why it's throwing an error. I'm using exactly the same syntax as provided in the previous videos. Any ideas?
Jay McGavrenTreehouse Teacher
There was an error with this challenge that we just fixed. Try again now. Your code should pass as-is. Sorry for the trouble!