Online course

Template Engine

The use of template engines allows you to reduce the time for product development and reduce the number of errors and corrections.

On the course, we will get acquainted with the basic principles of templates and consider them using the example of Pug, one of the most popular template engines.

Knowledge required: HTML, CSS, JavaScript basics

The course includes: principles of templating, Pug

Flexible format: start right now and move in a comfortable mode

The course will allow you to gain a sought-after skill and increase your value as a professional.

By using templates, you will be able to:

Build complex interfaces faster

Bind components to data and test them with different content

Better to use component approach

Minimize the number of errors and speed up their correction

Template engine skills on the Frontend Developer Competency Map

According to our Competency Map, this skill is required for front-end developers with more than 1 year of experience.

Typical tasks that you will learn to solve after the course «Template engines»:

Separation of the interface into structure and data

Selecting and Using Components

Highlighting the overall frame and individual pages. Header, footer, page content

Looping out components based on data. For example, product cards or a news list

Conditional rendering of components based on conditions. Adding classes by condition

Course program

It is built in such a way as to talk about the principles of templating and show examples on a specific tool.

With the acquired knowledge, you can use any template engines --- they will differ only in syntax.

Section 1

Introduction to templating

Section 2

Syntax of templating engines

Section 3

Division into templates and components

Section 4

JavaScript inside the template engine

Section 5

Loops in PUG

Section 6

Conditions and mixins in the PUG templating engine

Section 7

Course Outcomes

How is the course going?

The course involves self-study of the material in a comfortable mode for you. You can start learning right now.

The program is divided into modules, each of which allows you to gradually master the skill from simple basics to complex subtleties.

Each module consists of:


Structured information needed to master a part of a skill


Examples of solving typical problems that will allow you to understand how theory turns into real practice

Practical task

For self-consolidation of the received theory. For each task, after completing it, you will receive a step-by-step solution to compare it with your own and make sure that it was completed correctly


For the final fixing of the material. It will allow you to make sure that you have learned everything exactly and you can move on.

To developers from developers

Made for developers who have little time to learn. On each course you will receive:


Links theory to typical tasks in the market. You will have an understanding of where and how to apply the resulting theory.


Built from simple to complex. You can easily immerse yourself in the topic, even if you didn’t know anything about it before.


Up-to-date and updated theory, tested by the market. No "water" - you will receive only the necessary knowledge.


Created around each course. It will help you answer questions and deepen your knowledge.

The community of each course consists of authors, experienced developers, and students who have taken or are taking this course.
The community not only helps in mastering the material, but also constantly makes the course better.

It suits you if:

You want to earn more or change jobs, but you don’t know in which direction to develop.

You want to learn a specific skill but don't know how

You do not want to waste time searching for relevant information on the topic

You need a specific teaching methodology and only the necessary information

You want to make sure that the acquired knowledge is learned in practice

We have experience, research and methodology on our side

An experience

We have been building a relationship with the commercial development market for 9 years. We train beginner developers and see how they become experienced specialists.


Before launching a course, we make sure that it provides a sought-after professional skill.


We communicate with the web developer community and therefore understand how to teach. We minimize the time from studying the theory to solving typical problems.

What the developers say

Start «Template engines» course