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!

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 Getting Started With ES2015 Using Template Literals Review Template Literals

What am I doing wrong?

const name= "Dave"; let message= Hello ${ name} . How are you?;

What am I doing wrong here?

2 Answers

Thank you Steven, I used another computer to solve the quiz and it was was accepted as it is... Perhaps there was a problem with my ( ' )..

Steven Parker
Steven Parker
228,077 Points

It's hard to tell with the unformatted code, but I see two possibilities:

  • there should be no space in "${name}"
  • while it appears correct, the quiz doesn't expect you to add the semicolon