#WEEKLY challenge 14
So I made the unit converter required. Initially I was going to make the converter universal (supporting quantity, length, etc.), but there was a glitch that would automatically convert any given number to only micronits, disregarding you requested unit, so that wouldn't be very useful. So then I decided to make one with length, and this worked.
Feedback is appreciated and so are upvotes :)
Hope you find it helpful
Voters
userSM
@TheDrone7 are you not going to type SCORED
TheDrone7
It errors when I chose conversion from km to mm.
userSM
@TheDrone7 oh ok I'll try to fix it
userSM
@TheDrone7 it works fine for me
userSM
@TheDrone7
You entered 2. Your supposed to enter the number for the first input, and enter km for the second question
You entered 2. Your supposed to enter the number for the first input, and enter km for the second question
userSM
@TheDrone7 it says enter a supported unit
userSM
@TheDrone7 oh then it's my fault for not making it clear. Instead of typing 2 type km. It's not choosing by index. Now try it.
SCORED.