JavaScript PROJECT NOTES
JavaScript Project: how do I "Create a project directory and navigate to it my terminal"?
//code converts kelvin to celsius and then to fahrenheit
const kelvin = 293
const celsius = kelvin - 273;
let fahrenheit = celsius * (9 / 5) + 32;
fahrenheit = Math.floor(fahrenheit)
console.log(`the temperature is ${fahrenheit} degrees Fahrenheit.`);
re: json, fetch,
Comments
Post a Comment