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 trialJosh Keenan
20,315 PointsI do not know why this is wrong lil help?
Doing me some flask and try this code out, get 'syntax error: line 1, column 54'. help me please, no clue where I went wrong. TEACHERS is a dictionary containing a set of teachers names.
here's some code!
<ul class="teachers"> {% for teacher in TEACHERS.items() %} <li for='teacher'><h2>{ teacher }</h2></li> {% endfor %} </ul>
1 Answer
Kenneth Love
Treehouse Guest TeacherTo print things in Flask templates, we use {{
and }}
. You only have {
and }
.
Josh Keenan
20,315 PointsJosh Keenan
20,315 PointsThanks Kenneth, good job on the python course by the way, quick request here. Kivy application development or more tkinter. Thank you for everything.
Kenneth Love
Treehouse Guest TeacherKenneth Love
Treehouse Guest TeacherThanks, Josh Keenan!
You're not the first to ask for Kivy. I'm gonna have to do some learning before I can teach it, though.
As or more tkinter, maybe!