Convert to Celsius to Fahrenheit issue
See original GitHub issueChallenge Convert Celsius to Fahrenheit has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
function convertToF(celsius) {
var fahrenheit;
// Only change code below this line
celsius += 9/5* + 32;
fahrenheit -=32* 5/9 ;
// Only change code above this line
return fahrenheit;
}
// Change the inputs below to test your code
convertToF(30);
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Convert Celsius to Fahrenheit - Worked Problems - ThoughtCo
Problem : What is the temperature in Fahrenheit of 20 °C? ; Solution: The conversion formula for °C to °F is. TF =...
Read more >Converting the Temperature from Celsius to Fahrenheit
In converting the temperature from Celsius to Fahrenheit the formula is F = (9/5)C + 32. ... Multiply the number of degree by...
Read more >Celsius to Fahrenheit (C to F) — Conversion & Practice - Expii
Temperature in Fahrenheit is equal to 1.8 times the temperature in Celsius plus 32 degrees.
Read more >Convert Celsius to Fahrenheit Example Problem
To solve this, plug the Celsius temperature, -78.5 °C into the formula. Answer: Dry ice sublimes at -109.3 °F under normal atmospheric pressure....
Read more >Conversion of Temperature - Celsius to Fahrenheit - Math is Fun
Example: Convert 25° Celsius (a nice warm day) to Fahrenheit. First: 25° / 5 = 5. Then: 5 × 9 = 45. Then:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe this will help, maybe not…
One sentence needs to be converted into one line of code: Fahrenheit is Celsius times 9/5, plus 32.
It’s barely hard enough to call it algebra, more like basic math.
When you’re learning JS, you have to build up your ability to think logically. It takes a lot of study and time to solve the JS algorithms. If you’re not finding the JS Help Room helpful, you can try asking on the forum or just continue to study it on your own.
@SusieTech thanks for the issue. As you found in another issue https://github.com/freeCodeCamp/freeCodeCamp/issues/14143, this challenge has been questioned many a time before and has been moved to another section due to its sudden introduction of multiple topics. So I’ll be closing this issue as its been resolved in our development code.
GitHub issues are more for noticing bugs, rather than for coding help. For help, you can view our full list of official chatrooms for help and also the forum. Both of which can be useful for beginners. The chat rooms can be helpful for somewhat real-time feedback, while the forums allow more long, threaded discussions. Hang in there! 👍 It is a difficult path to go on, but rewarding when you keep at it. Feel free to tag me in the chat rooms if you have any questions. Others there are more than willing to help as well. Happy coding!