Use Multiple Conditional (Ternary) Operators Exercise

Use Multiple Conditional (Ternary) Operators Exercise
0

#1

Tell us what’s happening:

Your code so far


function checkSign(num) {
  return num === 10 ? "positive" : num === -12 ? "negative" : num === 0 ? "zero" :
}

checkSign(10);

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/use-multiple-conditional-ternary-operators


#2

Remember to always ask a question when you post a thread in the Help category.

Thank you.


#3

You have to specify a value or an expression after each ? and : character. Your last colon does not have a value after it.