It would help if you posted code using the code snippet button (to the right of the “add notebook” button.
From looking at your code, it looks like you are typing your units they way you would on a whiteboard. But, in Mathematica, you need to use the Quantity[] function. Otherwise, Mathematica will look at your “units” and just assume they are regular symbols.