A modern, interactive temperature converter built with HTML, CSS, and Vanilla JavaScript.
Supports Celsius, Fahrenheit, and Kelvin conversions with live input validation, swap button, dark mode, and animated result transitions.
- π Swap between temperature units
- π₯ Emoji-enhanced dropdowns for better UX
- π Dark mode toggle with saved preference
- π§ Input validation and conditional button enabling
- β¨ Smooth animations for conversion result
- π± Responsive layout for desktop and mobile
π View it here
- HTML5
- CSS3 (modern flexbox, transitions, CSS variables)
- JavaScript (ES6+ DOM manipulation)
-
Clone the repo:
git clone https://github.com/nurf21/temperature-converter.git cd temperature-converter -
Open
index.htmlin your browser:- Drag and drop the file into your browser
- Or use a local server like Live Server in VS Code
- π¨ Edit CSS to change theme colors or layout
- π Add more temperature units (e.g. Rankine, RΓ©aumur)
- βοΈ Convert to React or Vue version
- Add unit symbols (Β°C, Β°F, K) next to values
- Add keyboard shortcuts
- Add unit conversion history
- Project template and inspiration from roadmap.sh
This project is open-source under the MIT License.