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! While you're at it, check out some resources Treehouse students have shared here.
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 trialRayyan Thaaj
1,896 PointsWhy 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
"<h1>Welcome!<h1>"
end
1 Answer
Jennifer Nordell
Treehouse TeacherHi 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!