Skip to content
masterclass Buddy

JS Puzzles · Concept

Tagged Templates

Template literals use backticks for strings. They support multiline text, ${...} interpolation, and tagged templates that let a function process the parts.

Last updated

Syntax

`string text`
`string text ${expression} string text`
tagFunction`string text ${expression} string text`

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Tagged templates
  • String.raw
  • escape sequences
  • placeholders

Source: Template literals (Template strings) - JavaScript | MDN. Checked 2026-11-03.