Build a Leap Year Calculator - Build a Leap Year Calculator

Tell us what’s happening:

my code works but it is not passing. I don’t know why.

Your code so far

function isLeapYear(year){
if ((year % 4 === 0 && year % 100 !== 0) || year % 400 === 0) {
    return `${year} is a leap year`;
  } else {
    return `${year} is not a leap year`;
}
}
let year = 2024;
const result = isLeapYear(year);
console.log(result)


Your browser information:

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

Challenge Information:

Build a Leap Year Calculator - Build a Leap Year Calculator
https://www.freecodecamp.org/learn/full-stack-developer/lab-leap-year-calculator/build-a-leap-year-calculator

never mind, i figured out that I was missing a full stop at the end of my sentences.