Skip to content

Enoch208/unit_convert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Dynamic Unit Converter

This is a simple yet powerful unit converter web application that allows users to seamlessly convert between different units of measurement. The converter comes with a sleek user interface and smooth JavaScript functionality to enhance user experience. You can switch between two themes: Dynamic and Plain using the toggle switch provided.

Features

  • Multiple Conversion Options: Convert between Miles to Kilometers, Kilometers to Miles, Fahrenheit to Celsius, and Celsius to Fahrenheit.
  • Responsive Design: The layout adjusts beautifully across various screen sizes for a consistent user experience.
  • Theme Toggle: Switch between dynamic and plain themes effortlessly using the toggle switch. By default, the plain theme is activated.
  • Instant Results: See conversion results immediately after clicking the convert button.

Demo

Check out the live demo of the project here.

How to Use

  1. Enter a Value: Input the number you wish to convert in the input box.
  2. Select a Conversion: Choose the conversion type from the dropdown menu.
  3. Convert: Click on the "Convert" button to see the result displayed immediately.
  4. Toggle Theme: Use the switch at the bottom to toggle between dynamic and plain themes.

Code Structure

  • HTML: Provides the basic structure of the unit converter and the toggle switch.
  • CSS: Styles the unit converter and toggle switch, making the interface visually appealing.
  • JavaScript: Handles the conversion logic and theme switching functionality.

Installation

To use this project locally, clone the repository and open the index.html file in your browser.

git clone https://github.com/Enoch208/unit_convert.git
cd unit_convert
open index.html

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published