I am currently trying to finish the kelvin weather objective. in step 11 it instructs us to go back to the const kelvin var. and change it to 0 which should change the Fahrenheit to -460 however I change the const to 0 , however it doesn’t change to -460 in Fahrenheit. i looked through my code checking it but I don’t see anything wrong with it. I also checked with the video, can anyone see any error in my code that I’m not seeing by any chance?
//kelvin is constant and will be turned to c and then f
const kelvin = 0;
//i shouldn’t have to change 20c so there is no reason to use let
const celsius = 20;
//whatever number that is given from this equation it will be set as the number for fahrenheit
let fahrenheit = celsius * (9 / 5) + 32;
//to make sure that fahrenheit is not a decimail by using the math .floor() method it rounds the result down to the nearist whole number
fahrenheit = Math.floor(fahrenheit);
console.log(The temperature is ${fahrenheit} degrees Fahrenheit
);
[https://www.codecademy.com/courses/introduction-to-javascript/projects/kelvin-weather-javascript]