Build a Calculator - Step 3

Tell us what’s happening:

How to do it, I try to do it follow the instruction but is doesn’t right.

Your code so far



// User Editable Region

function addTwoAndSeven(num1,num2){
 
  return num1 + num2;
  console.log(addTowAndSeven(2,7))
}




// User Editable Region

Your browser information:

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

Challenge Information:

Build a Calculator - Step 3

1 Like

Welcome to the forum @phanphoun855

For this step you are not asked to refactor the function.

Please reset the step to restore the seed code and try again.

  • The console log goes after the function, not inside it.
  • You have a typo in the function call.

Happy coding