Skip to content

abre0101/Unit-Converter-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unit Converter

A unit converter with both CLI and Web interfaces supporting length, weight, and temperature conversions.

Features

  • Length Conversion: mm, cm, m, km, inch, ft, yard, mile
  • Weight Conversion: mg, g, kg, ton, oz, lb
  • Temperature Conversion: Celsius, Fahrenheit, Kelvin

Usage

Web Version (Recommended)

Simply open index.html in your browser for a beautiful, interactive interface with:

  • Tabbed navigation between conversion types
  • Real-time conversion as you type
  • Swap button to quickly reverse units
  • Responsive design for mobile and desktop

CLI Version

Run the Python script:

python unit_converter.py

Follow the interactive menu to select conversion type and enter values.

Files

  • index.html - Web interface
  • style.css - Styling with gradient design
  • script.js - Conversion logic
  • unit_converter.py - CLI version

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors