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
203,736 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