Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Unit Converter

HTML5 CSS3 JavaScript

A sleek, lightweight browser app for converting between metric and imperial units.

Overview

Unit Converter is a simple frontend project built to help users quickly convert common measurements without installing any dependencies or running a complex app setup.

It supports fast conversions for:

  • Length: meters ↔ feet
  • Volume: liters ↔ gallons
  • Mass: kilograms ↔ pounds

Features

  • Clean, modern interface
  • Easy numeric input
  • Instant conversions for multiple category types
  • Responsive layout for desktop and mobile screens
  • No build step required

Demo

Unit Converter UI preview

Project Structure

Unit-Converter/
├── index.html
├── style.css
├── index.js
├── README.md
└── .gitignore

Getting Started

1. Clone the repository

git clone https://github.com/yourusername/Unit-Converter.git
cd Unit-Converter

2. Run locally

Open index.html directly in the browser, or serve it locally:

cd "C:\Dev\Practice\Frontend practice\Unit-Converter"
python -m http.server 8000

Then visit:

http://localhost:8000

Usage

  1. Enter a value in the input box.
  2. Click the Convert button.
  3. View the converted results for length, volume, and mass.

Example

If you enter 10, the app calculates conversions such as:

  • 10 meters = 32.808 feet
  • 10 liters = 2.640 gallons
  • 10 kilograms = 22.046 pounds

Tech Stack

  • HTML5 for structure
  • CSS3 for styling and layout
  • JavaScript for conversion logic and DOM updates

Future Improvements

  • Add temperature conversions
  • Add speed and distance conversions
  • Improve input validation and error handling
  • Add dark mode
  • Create a more advanced dashboard-style UI

License

This project is open-source and available for educational and personal use.

Author

Built as a frontend practice project focused on clean UI design, JavaScript logic, and functional utility development.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages