The Conversion Calculator is a web-based application that allows users to easily convert between different units of measurement. It provides three conversion options:
-
Temperature: Celsius to Fahrenheit
- Users can enter a temperature in Celsius, and the calculator will instantly display the equivalent temperature in Fahrenheit.
-
Weight: Kilograms to Pounds
- Users can input a weight in kilograms, and the calculator will instantly show the corresponding weight in pounds.
-
Distance: Kilometers to Miles
- Users can enter a distance in kilometers, and the calculator will instantly display the equivalent distance in miles.
Technologies Used:
- HTML
- JavaScript
- CSS
Features:
-
User-Friendly Interface:
- The calculator has a clean and intuitive user interface with input fields for each conversion type.
-
Error Handling:
- The calculator handles invalid inputs gracefully and provides clear error messages if the input is not a valid number.
-
Styling with CSS:
- The application is styled using CSS to make it visually appealing and user-friendly.
How to Use:
- Open the
index.html
file in a web browser. - Choose the conversion type (Temperature, Weight, or Distance).
- Enter the value you want to convert in the respective input field.
- Click on
convert
button and view the converted value.
Repository Structure:
index.html
: Contains the HTML structure of the calculator.script.js
: Contains the JavaScript code for handling conversions and user interactions.style.css
: Contains the CSS code for styling the calculator.
GitHub Repository Link: [Insert GitHub Repository Link]
Screenshots:
-Navbar
-Temperature: Celsius to Fahrenheit
-Weight: Kilograms to Pounds
-Distance: Kilometers to Miles
-Home button and footer