Joseph HarlowFront End Web Development Techdegree Student 8,243 Points
Complete the code below to create a template literal: const headline = '<h1>A Literal Headline</h1>';
Please help. Can't seem to get this one.
Steven Parker207,973 Points
As Tim observed, template literals are enclosed in accents ("backticks") instead of apostrophes:
` these, not these '
But it might be worth pointing out that a template literal is not needed in this example, as no tag, interpolation tokens or newlines exist here. A plain string would do just as well here in practical code (and would be more "best practice").