Two Temperature Scales
Celsius and Fahrenheit.
Two Temperature Scales is a free Javascript for Kids lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Javascript for Kids learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
How Hot Is It? 🌡️
Welcome to the Temperature Converter! 🌡️ Let's learn the two ways the world measures hot and cold. 🔥❄️
console.log('Let us talk about temperature! 🌡️')Meet Celsius 🇪🇺
Celsius (°C) is used in most of the world. Water freezes at 0 and boils at 100. ❄️🔥
let celsius = 25
console.log('It is', celsius, 'degrees Celsius today!')Meet Fahrenheit 🇺🇸
Fahrenheit (°F) is used in the USA. Water freezes at 32 and boils at 212. 🥶
let fahrenheit = 77
console.log('It is', fahrenheit, 'degrees Fahrenheit today!')Same Day, Two Numbers 🔄
On a warm day it might be 25°C AND 77°F at the same time! Same weather, different numbers. 🔄
console.log('25 degrees Celsius')
console.log('is the same as')
console.log('77 degrees Fahrenheit')Freezing Point ❄️
When water turns to ice: 0°C equals 32°F. Brrr! ❄️
let freezeC = 0
let freezeF = 32
console.log('Water freezes at', freezeC, 'C or', freezeF, 'F')Boiling Point 🔥
When water bubbles and boils: 100°C equals 212°F. Hot! 🔥
let boilC = 100
let boilF = 212
console.log('Water boils at', boilC, 'C or', boilF, 'F')Store Both 📦
We can keep both numbers in variables so our converter can use them later. 📦
let celsius = 30
let fahrenheit = 86
console.log('Celsius:', celsius)
console.log('Fahrenheit:', fahrenheit)Which Is Bigger? 🤔
For the same weather, the Fahrenheit number is usually bigger than the Celsius number. 🤔
let celsius = 20
let fahrenheit = 68
console.log('Is F bigger than C?', fahrenheit > celsius)Body Temperature 🤒
A healthy human body is about 37°C or 98.6°F. Now you know! 🤒
console.log('Body temp: 37 C or 98.6 F 🤒')A Cold Day 🥶
On a snowy day it might be -5°C, which is 23°F. Bundle up! 🧣
let celsius = -5
console.log('It is', celsius, 'C outside. So cold! 🥶')Why Convert? 💡
If a friend in the USA says it's 90°F, we want to know that in Celsius! That's why we build a converter. 💡
console.log('Next we will learn the magic formula! ✨')Quick Check ✅
Test your temperature knowledge! 🧠
Two Scales Learned! 🌟
Great start! You now know the two temperature scales. 🎉
- Celsius: freeze 0, boil 100 ❄️🔥
- Fahrenheit: freeze 32, boil 212 🥶
Next: the formula to convert! ✨
console.log('Two scales: LEARNED! 🌟')Frequently asked questions
Is the “Two Temperature Scales” lesson free?
Yes — the full text of “Two Temperature Scales” is free to read here on the web, and the Javascript for Kids course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Javascript for Kids course, upgrade to CoddyKit PRO.
What will I learn in “Two Temperature Scales”?
Celsius and Fahrenheit. You practise Javascript for Kids with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Javascript for Kids?
No prior experience is required. Javascript for Kids on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Two Temperature Scales” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Javascript for Kids lesson?
Yes. Every Javascript for Kids lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- Two Temperature Scales
- The Formula
- Asking the User
- Showing the Result