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.