This is one of the projects built while learning Javascript and it works very well converting miles to kilometers. It is a great project and anyone can use it by modifying a few changes to convert any units.
This is the second version of this application which is purely html and Javascript this application converts miles to kilometers and vice versa. The user can switch the converter by pressing "K" key to kilometers and "M" to miles.
- Chrck it out https://convert-distance.netlify.app/