Write the Code for the Templates

Learn to write HTML files in Django.

Our program’s user interface is created in this lesson. Even with TDD, we can start constructing a web application in a variety of ways. Some people begin by creating models, others by creating templates, and so on. All of these methods should lead to the same final project goal.

A good option is to start with the models to understand how to arrange the database before reconstructing the template. However, knowing how we want the web application to appear, at least in the early stages, is usually a good idea.

The template for the homepage

The whole template for the continuation of the project for this course can be seen below:

Get hands-on with 1200+ tech skills courses.