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

Python

maxwell flitton
maxwell flitton
7,183 Points

presentation of page doesn't match

I'm using brackets to write the html for this Django exercise, all the links work and I've copied it word for word but the presentation is simply lines of text as opposed tabs, what's going wrong?

Stéphane Diez
Stéphane Diez
19,350 Points

can you show us some code, so we can see what error you have?

maxwell flitton
maxwell flitton
7,183 Points

Below is the code. I used to render the titles of the courses fine. Then added href to them and they just went to 1-dimensional lines of code but it's supposed to be tabs. The framework is Django and I'm using brackets to write the html files.

<!doctype html>
<html>
    <head>
        <title>{% block title %}{% endblock %}</title>
        <link rel="stylesheet" href="{% static 'css/layout.css' %}">
    </head>
    <body>
        <div class="site-container">
            <nav>
                <a href="{% url 'views.hello_world' %}">Home</a>
                <a href="{% url 'courses.views.course_list' %}">Courses</a>
            </nav>
            {% block content %}{% endblock %}
        </div>
    </body>
</html>```