Kelvin Weather Help Please :(


#1

I have

var kelvin = prompt (‘What is the Kelvin temperature today?’);
var celsius = kelvin - 273;
var Fahrenheit = Celsius * (9/5) + 32;
console.log (fahrenheit);

It outputs

ReferenceError: fahrenheit is not defined


#2

console.log (fahrenheit);

Capitalize it (?) ?
( as in Fahrenheit)

You also need to change here...
var celsius = kelvin - 273; (c in lowercase)
Celsius * (9/5) + 32; (C is uppercase)

hint**
Javascript is case sensitive programming language.
what does it mean?

example..
x and X aren't same thing (x, X are variables)


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.