Exploring Template Literals and Creating Mad Libs

Learn about template literals in JavaScript and create a Mad Libs game.

We'll cover the following

Template literals

Template literals are special types of strings in JavaScript that use the backtick character (`) to delineate the string, as shown in the example below:

`Hello!`;

One advantage of using template literals is that we can then use both types of quotation mark within the string:

`She said, "It's Me!"`

Get hands-on with 1400+ tech skills courses.