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,756 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