Look at the API doc for what arg is required for the parseInt() method. Are you passing what it requires?
What does the indexOf() method return?
What value do you want to assign to num1? Does the...