Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Flask with SQLAlchemy Basics!
You have completed Flask with SQLAlchemy Basics!
Preview
Connect your Flask website to static files to take advantage of CSS and JavaScript files.
File Path Types
Absolute File Paths VS. Relative File Paths VS. Root Relative Paths
Color Palettes
Typical System Fonts
- Arial / Helvetica
- Times New Roman / Times
- Courier New / Courier
From safe web fonts
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Inside of our static folder, there are now
new folders for CSS, and JavaScript.
0:00
If you haven't already,
download the static files and
0:02
the new template files from
the teacher's notes below.
0:05
The CSS adds style and
layout to our website,
0:09
while the JavaScript
controls interactions.
0:12
Let's see what our site looks
like right now without them.
0:17
If you haven't already,
run your program with Python app.py and
0:20
open up your website in the browser.
0:24
Should look something like this
with a super adorable Corgi.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up