Variables

Let's learn about the method and syntax of variables.

Variables

As we recall from the previous lesson, a template contains variables, which get replaced with values when the template is evaluated.

Syntax of a variable

A variable looks like this: {{ variable }}.

Variable names consist of any combination of alphanumeric characters and the underscore ...