Temperature Converter
This is a simple web application that allows you to convert temperatures between Celsius and Fahrenheit.
How to Use
- Open the index.html file in a web browser.
- You will see two input fields: one for Celsius and one for Fahrenheit.
- You will see two input fields: one for Celsius and one for Fahrenheit.
- To convert Celsius to Fahrenheit:
- Enter the temperature in Celsius into the "Celsius" input field.
- Click on the "Convert Celsius to Fahrenheit" button.
- The equivalent temperature in Fahrenheit will be displayed in the "Fahrenheit" input field.
- To convert Fahrenheit to Celsius:
- Enter the temperature in Fahrenheit into the "Fahrenheit" input field.
- Click on the "Convert Fahrenheit to Celsius" button.
- The equivalent temperature in Celsius will be displayed in the "Celsius" input field.
Temperature Conversion Logic:
The temperature conversion logic is implemented using JavaScript. The app.js file contains two functions: convertCelsiusToFahrenheit and convertFahrenheitToCelsius. These functions retrieve the input values, perform the necessary calculations, and update the respective input fields with the converted temperatures.