Ruby Building Web Apps with Sinatra ERB Templates Root Path

Why isn't this code working?

This code worked during the workspaces follow along but for some reason isnt working in the challenge

require "sinatra"

get ("/") do

1 Answer

Jennifer Nordell
Jennifer Nordell
Treehouse Staff

Hi there! You're doing terrific, but you forgot one tiny thing. You started the h1 with an open <h1> tag, but you ended it with another open h1 tag <h1>. You should end it with a closing h1 tag which would be </h1>.

Like this:

<h1>insert your text here</h1>

Hope this helps! :sparkles: