JavaScript JavaScript Basics Working with Strings Combine Strings and Template Literals Review

how to convert to template literal

convert tag data to template literal

1 Answer

Xavier Ritch
Xavier Ritch
11,098 Points

hope you got this one, but if not, keep in mind template strings are used with backticks: ``. This eliminates the need for the + operator used in normal string concatenation. so when using template strings, in order to interpolate a variable you simply use ${your variable goes in here}, within the template string. Hope this helps!