Call function...please help

how should i call my function???
help please

  **Your code so far**

function functionWithtArgs(one, two) {
consol.log(one + two);

function functionWithArgs(seven, nine) {
console.log(seven + nine);

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0.

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

Hi @iranihamed1985 !

You only need one function on the page.
Not two.

I would delete the first one because you misspelled the function name and console. log.

Delete this

This is how to write a function call.
You use the function name, and pass in two values.

Here is the FCC example

function testFun(param1, param2) {
  console.log(param1, param2);

Function call: testFun("Hello", "World");

You will do that same thing in your code and use the function name and pass through two numbers in the parenthesis.

Hope that makes sense!

oops, my bad, thank you so much

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