Skip to content
Justice Tech School

Template Variables

Double braces print values.

Example
<h1>Hello {{ name }}</h1>
<p>{{ user.email }}</p>
<p>{{ items.0 }}</p>

Exercise

Print a variable.

{{  }}

Quiz Test

What does dot access do?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.