Tell us what’s happening:
// running tests
" is not equal to 0" is not a function
" is not equal to 0" is not a function
" is not equal to 0" is not a function
" is not equal to 0" is not a function
// tests completed
Your code so far
function checkSign(num) {
// positve negative or 0
// return (num == 0)? num + " is equal to zero" : num + " is not equal to zero "
// (num >0)? num + " is greater than zero " ;
return (num == 0) ? num + " is equal to zer0" : num + " is not equal to 0"
(num >=0) ? num + " is greater than or equal to 0" : num + " is is less that 0" ;
}
checkSign(10);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/use-multiple-conditional-ternary-operators