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 code below to recreate the above code using template literal interpolation const name = "Aneesah"; let me

Complete the code below to recreate the above code using template literal interpolation: const name = "Aneesah"; let message = (what goes here) Hello(what goes here) . How are you?(what goes here);

2 Answers

rydavim
rydavim
18,814 Points

You can find a good reference on the MDN Template Literals page.

For this challenge, I have a couple of hints.

The wrapping isn't the typical " or ' characters. You'll need to use a backtick `.

Your variable needs to be in the ${foobar} syntax. The MDN page above has good examples.

If you still feel stuck or have any follow up questions, please let me know! Good luck and happy coding!

I ended up figuring it out, but thank you for the response, and I went to MDN to read up on template Literals as well, thank you.

thank you