Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

I am using a Template literal on the task like requested in the exercise, but still not working.

# It is not working. WHat am I doing it wrong? 
## I am using Template literals like Tim Oltman said. But it still not workint though. 
### I was asked to fill in the correct answer in each blank provided below.
'''
const headline = '<h1>A Literal Headline</h1>';

'''
----

2 Answers

Travis Alstrand
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Travis Alstrand
Treehouse Project Reviewer

Yup, you just need to use backticks instead of single or double quotation marks here :thumbsup:

const headline = `<h1>A Literal Headline</h1>`;
Travis Alstrand
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Travis Alstrand
Treehouse Project Reviewer

Hi there Gabriela Miranda ! :wave:

Could you please provide a link to the quiz you're on? I'm not sure exactly which one you're referring to as this was posted in the general "JavaScript" topic.

When creating template literals, be sure to use backticks instead of quotation marks though. They're on the same key as the ~ tilde, usually at the top left of the keyboard.

Here's a helpful documentation page that may help as well! :smiley: