WEB 1.1 - Module 2: Lesson 1

Learning Outcomes 💫

By the end of this lesson, you should be able to...

Videos 🎥

Vid 1 - Walking through templates and the render_template() function in Python

Vid 1 - Walking through templates and the render_template() function in Python

Vid 2 - Using the context object to provide templates access to <form> data

Vid 2 - Using the context object to provide templates access to <form> data

Exercises 💪

Complete the challenges in this repl.it and submit your work.

Written Companion 🗒

<aside> 🤔 How can we efficiently separate the Python code from the HTML code in a way that supports scalability and readability?

</aside>


Coding without Templates

So far the previous examples up to this point have been intermingling Python and HTML code in the same file.