Daily Coding Challenge - Longest Word

i am getting an error

function getLongestWord(coding is fun) {

return coding;
}

Your code so far

function getLongestWord(coding is fun) {

  return coding;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36

Challenge Information:

Daily Coding Challenge - Longest Word

https://www.freecodecamp.org/learn/daily-coding-challenge/2025-09-29

this is not the correct way to define the parameters of a function

I suggest you learn JavaScript before you try to do the daily challenges