freeCodeCamp.org

Combine your if and else if statements into a single if statement checking if input is equal to 0 or 1. If it is, use the String() function to convert input into a string and return it.

if (input === 0 || 1) { return(String(input)); }

I can find no solution to this Step. I wonder if I am misunderstanding what is required?

You want to say “input is 0 OR input is 1”, but you’re saying “input is 0 OR 1”

1 Like

DanCouper you are a Star - thank you.

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