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 trial
MUZ140136 Elvis Harrison
8,701 PointsRemove everything from "index.html" except for the extends and block tags and their contents.
Bummer! Your "index.html" template seems to have extra content in it.
this is my code
{%extends 'layout.html'%}
{%block title%}<title>Homepage</title>{%endblock%}
{%block content%}
<h1>Smells Like Bakin'!</h1>
<p>Welcome to my bakery web site!</p>
{%endblock%}
3 Answers
michaelangelo owildeberry
18,173 Points{%extends 'layout.html'%}
{%block title%}
Homepage
Smells Like Bakin'! Welcome to my bakery web site!
{%endblock%}
what happens if you try this? =)
Kenneth Love
Treehouse Guest TeacherYou have unnecessary <code><title></code> tags in your title block.
Joshua Armstrong
4,921 PointsSo I was doing the code challenge and this code isn't passing. Also tried removing all tags (which doesn't happen in the program we write during this lesson) but this didn't help either. Any ideas? Thanks -Josh
Never posted code on here but It didn't seem to work. It looks similar to the first post without title tags though. Fixed. I had no spacing around the first block title. Sorry.
{% extends "layout.html" %}
{%block title%}Homepage{% endblock %}
{% block content %}
<h1>Smells Like Bakin'!</h1>
<p>Welcome to my bakery web site!</p>
{% endblock %}
MUZ140136 Elvis Harrison
8,701 Pointsthanks guys