Primer on Jinja Templating
Real Python
EDITOR BRIEF
Jinja is a templating tool for creating text files with programmatic content. It can support rich front-end templates for web apps, and it also works without a web framework running in the background.
INSIGHTS
This matters because templates help you generate HTML or other files from data instead of writing each one by hand. A good next step is to try a small Jinja template that fills in variables and loops over a list.
Learn more with these courses
CodeFriends courses that build on this story. Practice in the browser with nothing to install.
- Introduction to HTML, CSS, and JavaScriptLearn the fundamentals of HTML, CSS, and JavaScript, and build your own website from scratch.Beginner25 Hours
- Introduction to Web Development (Light)Master HTML, CSS, and JavaScript in just 10 hours.Beginner10 Hours
- Python Programming 101Learn Python in just 20 hours! Kickstart your programming journey with this beginner-friendly course.Beginner20 Hours
COMMENTS
Loading comments…