Metric-Imperial Converter test 10 not working

Tell us what’s happening:
I believe I’m handling this story correctly but it is still failing
You can use fractions, decimals or both in the parameter (ie. 5, 1/2, 2.5/6), but if nothing is provided it will default to 1.
The only thing I can find is that the unmodified input from the tests shows two inputs coming through as undefined.

Your project link(s)

solution: https://boilerplate-project-metricimpconverter.lukekodanko.repl.co

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13729.45.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36.

Challenge: Metric-Imperial Converter

Link to the challenge:

Hello there,

Top Tip: You can use the browser console to get the assertion errors:

Hope this helps

Try inputing “1/2kg” into the example project from FCC and then into yours and notice the difference.

I feel a little silly now :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.