You need to use variable names, not values, in the parameter list. In the example you were given:
function testFun(param1, param2) {
console.log(param1, param2);
}
The function give the names “param1” and “param2”. They just chose those name. They could be “apple” and “elephant”. It could have been this:
function testFun(apple, elephant) {
console.log(apple, elephant);
}
The function declaration:
function testFun(apple, elephant) {
tells JS that this function will have two variables passed to it. It will store the first one in a variable called “apple” and the second one in a variable called “elephant”.
You need to do something similar, pick names for your two parameter variables and then use those in your function.