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
Utilize templating to create HTML files for Flask to display for the user.
HTML Head
<meta charset="utf-8">
<title>Pet Adoption</title>
<meta name="description" content="A collection of adoptable pets.">
<meta name="viewport" content="width=device-width, initial-scale=1">
Lorem Ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Templating Documentation
Flask uses Jinja for its templating behavior. Jinja Docs
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
When a user navigates to a route,
the app responds with a message.
0:00
Now I think we can all agree,
0:00
a single message doesn't quite
make the greatest website.
0:02
We need to pass in the structure of our
website, which is created using HTML,
0:07
let's delete our current message and
replace it with triple quotes.
0:12
Let's put an h1 for
a header and do Pet Adoption,
0:26
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