Kelvin Weather Project

Here’s my code for the Kelvin Weather project:

I cannot get my code to run properly on this assignment. I went back and changed my code to be character for character exactly what is suggested in the hints. It still does not run. Is this an error on codecademy’s side possibly?

Hello.

Could you share your code? It is impossible to tell what the problem might be without seeing the code.

Hello, I’m trying to solve this project. I did all the steps in the lesson and tried also changing the kelvin degrees to 0 but not working. Don’t know what’s going on.

When I click on save i’m just getting this all the time : The temperature is ${fahrenheit} degrees Fahrenheit.
no actual conversion of degrees / results.
Thank you for any help.

//kelvin temperature

const kelvin = 293;

//kelvin to celsius

const celsius = kelvin - 273;

//fahrenheit to celsius conversion

let fahrenheit = celsius * (9/5) + 32;

//fahrenheit round down

fahrenheit = Math.floor(fahrenheit);

console.log(‘The temperature is ${fahrenheit} degrees Fahrenheit.’);

Check your console.log. You put your string within quotes rather than a back tick ( ` ). Fixing that should fix your issue.

I hope this helps!

That fixed it. Thanks for taking the time to help.

Awesome! It’s no problem at all!