Tell us what’s happening:
I looked at the answer to solve this problem and, let’s be fair, how else was I going to get it? You have shown me a tiny part of what was going on with this test. I’ve never seen this “(celsius * (9/5)) + 32” before. Was I supposed to get the answer using my celebrated psychic powers, and let’s face it, your wonderfully insightful hint of “It’s something you’ve never seen before” wasn’t a big help. I want to learn how to code more than you could ever know and I have searched the internet looking for a way to accomplish this. I think you ought to have a rethink on your teaching techniques because some of these lessons are more like guessing games.
Before I looked at the answer my code was (ZILCH, NADA, NOTHING, I had no idea where to start.)
function convertToF(celsius) {
// Only change code below this line
var fahrenheit = (celsius * (9/5)) + 32;
// Only change code above this line
return fahrenheit;
}
// Change the inputs below to test your code
convertToF(30);
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:58.0) Gecko/20100101 Firefox/58.0
.
Link to the challenge:
https://www.freecodecamp.org/challenges/convert-celsius-to-fahrenheit