A simple unit converter that converts values between metric and imperial units.
- Converts meters and feet
- Converts liters and gallons
- Converts kilograms and pounds
- Displays results up to three decimal places
- Simple and responsive interface
While building this project, I practiced:
- Selecting and updating DOM elements
- Handling button click events
- Reading and converting input values
- Passing values into functions
- Using template literals
- Formatting numbers with
toFixed() - Organizing HTML, CSS, and JavaScript into separate files
- HTML
- CSS
- JavaScript
https://ghayas-unit-converter.netlify.app/
Muhammad Ghayas