Skip to content

A temperature converter web app with unit swapping, dark mode, and animated result display built using HTML, CSS, and JavaScript.

License

Notifications You must be signed in to change notification settings

nurf21/temperature-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌑️ Temperature Converter

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.


πŸš€ Features

  • πŸ”„ 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

πŸš€ Live Demo

πŸ“ View it here


πŸ› οΈ Tech Stack

  • HTML5
  • CSS3 (modern flexbox, transitions, CSS variables)
  • JavaScript (ES6+ DOM manipulation)

πŸ”§ How to Use

  1. Clone the repo:

    git clone https://github.com/nurf21/temperature-converter.git
    cd temperature-converter
  2. Open index.html in your browser:

    • Drag and drop the file into your browser
    • Or use a local server like Live Server in VS Code

✏️ Customization

  • 🎨 Edit CSS to change theme colors or layout
  • πŸ” Add more temperature units (e.g. Rankine, RΓ©aumur)
  • βš›οΈ Convert to React or Vue version

πŸ“Œ Todo / Improvements

  • Add unit symbols (Β°C, Β°F, K) next to values
  • Add keyboard shortcuts
  • Add unit conversion history

πŸ§‘β€πŸ’» Credits

  • Project template and inspiration from roadmap.sh

πŸ“„ License

This project is open-source under the MIT License.

About

A temperature converter web app with unit swapping, dark mode, and animated result display built using HTML, CSS, and JavaScript.

Topics

Resources

License

Stars

Watchers

Forks