Console.log & variables exercises - DOUBT

Hi, this is about exercise no. 8 on “Console.log & variables” exercises.

The solution says:

console.log(The rectangle is ${length} cm long and ${width} cm wide.);

but when I try that solution, it doesn’t work for me:
solution exc8 console.log_and_variables

I did this solution instead:
my_solution exc8 console.log_and_variables

I wonder why it didn’t work although I managed to do it correctly? Because the academy’s solution takes less time.

Thanks!

1 Like

Remember to put backticks in your console.log instead of double quotes ("") when using that syntax.

Simple fix to solve it. :slight_smile:

1 Like

Thank you! I thought of that but couldn’t find the symbol in my keyboard :joy: