Module Learning Objectives

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

  1. Explain how data is passed from a Flask route to a template.
  2. Write HTML templates that utilize control structures (for loops & if statements) to show data to the user.
  3. Utilize the block & extends template tags to write reusable template code.

Lessons

Templating

Named Parameters

Conditional Rendering with Templates

Loops in Templates

Creating Reusable Components via Template Inheritance