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 trialJulian Silvestri
4,214 PointsStuck on flask quiz#2
Hello
I have been stuck on this challenge for quite some time now. Rather the quiz. I find the questions and the way you are asked to answer quite strange...
Anyways... I am stuck on these questions
css, images and javascript are stored _______________/by defatult
files in flask are stored in __________________/by default After reviewing the videos sever times I noticed Kenneth saying these can be accesed using /directoryname I tried /static and others but can not seem to figure out these questions and move on
3 Answers
Ari Misha
19,323 PointsHiya Julian! By default, your flask app should have a directory named "static" and this directory contains all your JS, css and images files. But your html files should go in templates directory. Thats how flask knows how to get to your static files and templates. (:
Ari Misha
19,323 PointsHiya again! It actually worked for me though :/
Julian Silvestri
4,214 Points:( im crying
Nathan Saint Ours
3,499 PointsThe answers are just 'templates' and 'static' respectively
Julian Silvestri
4,214 PointsJulian Silvestri
4,214 PointsHello
I have inputted static directory static files template directory I cannot find the answers.... it always just says incorrect answer. ive been stuck on this quiz forever now