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 JavaScript Basics Working with Strings Combine Strings and Template Literals Review

Complete to recreate the above code using template literal interpolation: const name = "Aneesah"; let me

can someone help

1 Answer

Angie Berg
Angie Berg
5,624 Points

Template literal I can help with but I don't know how they are asking for it. Do they want it in the <body> of the html? Basically you will be taking the variable "name" and using that. You will use the , the backtick, which is in the top left of your keyboard to begin and end what you want the sentence to say. For example:My name is ${name}. I am a Treehouse student.This could be done like console.log(My name is ${name}`);