An open API service indexing awesome lists of open source software.

https://github.com/thekiranmahajan/weight-converter

A simple weight converter which converts the given weight in kg to lbs i.e kilograms to pounds. it also uses setTimout function to show error messages for few seconds
https://github.com/thekiranmahajan/weight-converter

css3 glassmorphism html5 javascript kg-to-lbs responsive weight-converter

Last synced: 3 months ago
JSON representation

A simple weight converter which converts the given weight in kg to lbs i.e kilograms to pounds. it also uses setTimout function to show error messages for few seconds

Awesome Lists containing this project

README

        

Hello fellows😎,

How's it going? here back with another JavaScript Project {12/12}: Weight-Converter{pretty simple one}.

🔴 Live Demo: https://weight-converter-ray.vercel.app/

🔴 GitHub link: https://github.com/thekiranmahajan/weight-converter

https://github.com/thekiranmahajan/weight-converter/assets/91893931/8df9848e-7925-4467-bc42-1834d61a5a35

🟢FEATURES🟢

✅ Simple gradient UI with Glassmorphism card and inset shadows for depth.

✅ On every input change a function gets executed which converts weight in kg to weight in pounds lbs.

✅ It also handles errors such as if someone tries to provide a negative or NaN or zero number it shows a custom error for 2 seconds with setTimeout

✅ Similarly it shows thank you after a successful weight conversion removes values from the input field and goes back to default.