Temperature.Conversion.Demo.mov
This project is a simple temperature conversion web application that allows users to convert between Celsius and Fahrenheit. The user inputs a temperature value, selects the desired conversion unit, and clicks the submit button to see the converted result.
Convert temperatures from Celsius to Fahrenheit.
Convert temperatures from Fahrenheit to Celsius.
User-friendly interface with clear labels and instructions.
Displays the result dynamically on the webpage.
Styled using CSS for a clean and modern look.
Clone the repository or download the project files.
Open the index.html file in any modern web browser.
Enter a temperature value in the input box.
Select a conversion unit (Celsius to Fahrenheit or Fahrenheit to Celsius).
Click the "Submit" button to see the result.
The converted temperature will be displayed below the form.
Contains the structure of the form, including:
An input field for temperature input.
Radio buttons to select the conversion unit.
A button to trigger the conversion.
A paragraph element to display the result.
Defines the logic for temperature conversion.
Captures user input and performs the conversion based on the selected unit.
Updates the result dynamically in the HTML document.
Styles the form and its elements:
Centers the form and applies a clean design with a light background.
Enhances the button with hover effects.
Uses clear typography for better readability.
Enter 100 in the input box.
Select "Celsius ▶︎ Fahrenheit."
Click the "Submit" button.
The result 212.0°F will appear below the form.