This is a responsive and interactive website that allows users to easily convert between:
- Celsius and Fahrenheit
- Kilograms and Pounds
- Kilometers and Miles
Built with HTML, CSS (Bootstrap & custom styling), and JavaScript, this tool is ideal for quick unit conversions and includes helpful conversion formulas for learning.
- Clean UI: Built with Bootstrap 5 for a modern, responsive layout
- Live Conversion: Converts values instantly as you type
- Three Conversion Tools:
- 🔥 Temperature: Celsius ↔ Fahrenheit
- ⚖️ Weight: Kilograms ↔ Pounds
- 🛣️ Distance: Kilometers ↔ Miles
- Educational Side Notes: Each section includes formulas for manual calculation
- Hover Effects: Interactive styling enhances usability and feedback
.
├── converter.html # Main HTML file with structure and layout
├── converter.css # Custom styles for visual enhancement
└── converter.js # JavaScript logic for real-time conversions
(C × 9/5) + 32 = F
(F − 32) × 5/9 = Ckg × 2.205 = lb
lb / 2.205 = kgkm ÷ 1.609 = mi
mi × 1.609 = kmConversions are handled dynamically using oninput events.
- Clone or download the repository.
- Open
converter.htmlin your web browser. - Enter values in any field — the corresponding unit will be auto-calculated.
- Bootstrap 5.3.0-alpha1
- JavaScript (Vanilla)
This project is open-source and free to use.
© 2025 Ammar Amin