How can this possibly be wrong?

I just wrote this code, 99% sure it was correct and its not. Then watched the help video and the video literally does the exact same thing I have so why is this not correct?

  **Your code so far**

function isLess(a, b) {
// Only change code below this line
   return a < b;

// Only change code above this line

isLess(10, 15);
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15

Challenge: Returning Boolean Values from Functions

Link to the challenge:

HI @Kitecop !

The code you have shared works on my end. Please ensure that you have disabled any extensions that interface with the freeCodeCamp website (such as Dark Mode and Ad Blocker), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

I refreshed the page and it worked

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