Convert Celsius to Fahrenheit dont work

Convert Celsius to Fahrenheit dont work
0.0 0

#1

Tell us what’s happening:

Your code so far

function convertToF(celsius) {
 
  // Only change code below this line

   var fahrenheit = (celcius * (9/5)) + 32;
  
  // Only change code above this line
  return fahrenheit;

}

// Change the inputs below to test your code
convertToF(0);

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0.

Link to the challenge:


#2

You have a typo in your formula.


#3

Check your spelling.


#4

Hi there!
Is there someone to give me some light on this multiple temperature conversions issue that do not work at once? I will appreciate your response.


#5

@Javi - You need to use a formula to convert from Celsius to Fahrenheit. You need to assign the formula to the variable called fahrenheit. You are so close to the solution. Instead of putting a number into the formula, use the variable called celsius.


#6

Great! Thanks to your directions I have gotten the challenge.