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

Recreate code using temperate literal interpolation

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

const name = "Aneesah"; let message = Hello . How are you?;

1 Answer

connor ingold
connor ingold
5,382 Points
  const name = "Aneesah"; 
  let message = `Hello ${name} How are you?`; 

You forgot to add the ${ } :)