String Interpolation4:08 with Joel Kraft
Template literals get their name from their ability to evaluate expressions. Think of a form letter template with blanks to hold names or numbers that can be filled in later: "Dear ______, Thank you for your business on ______! Sincerely, Management" Similarly, values can be filled, or interpolated, into template literals, to be evaluated when the program runs. Let's get a feel for how this works.
Practice Template Literals
To help make what you learned stick, try this short practice workshop on template literals.
You need to sign up for Treehouse in order to download course files.Sign up