Convert Celsius to Fahrenheit dont work

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:
https://www.freecodecamp.org/challenges/convert-celsius-to-fahrenheit

Check your spelling.

12

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.

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

1 Like