How much does the Front End Developmet Certificate cost?

Tell us what’s happening:

Your code so far

function orderMyLogic(val) {
  if (val < 10) {
    return "Less than 10";
  } else if (val > 5) {
    return "Less than 5";
  } else {
    return "Greater than or equal to 10";
  }
}

// Change this value to test
orderMyLogic(7);

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0.

Link to the challenge:
https://www.freecodecamp.org/challenges/logical-order-in-if-else-statements

Nothing. It’s free. Everything here is free. That’s why it’s called Free Code Camp.

1 Like

Thank you. I like your logo it’s creative.