BananaMaster

24 - Creating a unit converter using switch (JS lessons)

If you forgot something — click to go to the lesson.

📘 Task: Unit Converter

Create an application "Unit Converter".

The user enters a number and selects the type of conversion. After clicking the button, you need to:

📐 Use the following formulas:

🧪 Examples:

📌 Important:
The formulas are duplicated in the source code (in JavaScript) as comments. Do not modify the HTML.