Web Application Development with Flask
Learning Outcomes
By the end of your learning, you will be able to:
- Create more routes and pages
- Use Jinja templating to create dynamic pages
- Create a templated web app
Quest Details
Introduction
Previously, you learnt about Flask and its capabilities, created your development environment, and deployed a basic Flask web application. However, the website currently only displays text on a single page. In this quest, you will be adding more pages, creating dynamic pages, and integrating everything into one.
You will also be introduced to the Jinja templating engine. Jinja provides a powerful and flexible way to generate dynamic web pages in Flask, making it easier to build complex web applications while maintaining a clear separation between the presentation layer and the application logic.
Here, you will be asked several times to run your file to see how your webpage looks like on localhost:5000. What you will need to do is to run the command python app.py in your terminal and refresh your browser window which is on localhost:5000. Each time you are done checking your webpage, be sure to hit Ctrl+C in your terminal to quit the viewing. You will need to do this each time you want to see the changes in your code affect your site.
Deliverables
This quest has 2 deliverables.
- Screenshot
- Web Link
This quest is part of a campaign so do check out other quests!
Find articles to support you through your journey or chat with our support team.
Help Center