Codington
0 of 10 problems solved • 0%
Use in a course

Exercise prompt

Build a Template Message

A template literal uses backticks instead of regular quotes. ${value} inserts a variable's value directly into the surrounding text.

Example

const pet = "Otis"; const message = `Hello, ${pet}!`;

This produces Hello, Otis!. Your message includes a learner and a course.

Your task

Create message with a template literal that uses learnerName and courseName. It should read Leo is learning JavaScript.