-3

Here is the image of my problem

I tried changing the string, and tried repeating everything over and over. Nothing seems to work.

Edit: Thanks for the replies, it is working now.

AshM10
  • 5
  • 4
  • 1
    Try to use *backticks* instead of `'` in `alert` function. – mahooresorkh Mar 24 '22 at 11:31
  • Typo? The value `temperature` indeed isn't used. Though it looks like you meant to use a template literal instead of a literal string, which would involve back-ticks instead of single-quotes. – David Mar 24 '22 at 11:31
  • 2
    Does this answer your question? [Usage of the backtick character (\`) in JavaScript](https://stackoverflow.com/questions/27678052/usage-of-the-backtick-character-in-javascript) – mahooresorkh Mar 24 '22 at 11:37
  • Thanks everyone, it's working now! ❤️ – AshM10 Mar 24 '22 at 16:21

1 Answers1

0

It says that you create a new variable let temperature but you are not using it anywhere in your code If you want to use it in the alert you should use backticks `` for s tring interpolation instead of single quotes ''