Can someone do that for me I literally gave up, it is unsolvable.
I am currently doing the Basic JavaScript: Passing Values to Functions with Arguments?
THat is my COde
// Only change code below this line.
function functionwithArgs(num1, num2) {
console.log(num1 + num2);
console.log(num1 + num2);
}
functionwithArgs(1, 2);
functionwithArgs(7,9);
And still they are not happy at all. Also, Beau didnt do it in his video. I can get only one or the other correct. For some reason I feel it is a bug but I cant be sure.
Thanks in advance
Can you add a link to the exercise? I don’t know what the requirements are.
Meanwhile try returning your sum instead of console logging them.
You just need one console.log
instead of two.
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>
) will also add backticks around text.
Note: Backticks are not single quotes.

Tried that. Still doesn’t work
That is the code;
// Only change code below this line.
function functionwithArgs(num1, num2) {
console.log(num1 + num2);
}
functionwithArgs(1, 2);
functionwithArgs(7,9);
Hi I copied the code
function functionwithArgs(num1, num2) {
console.log(num1 + num2);
}
functionwithArgs(1, 2);
functionwithArgs(7,9);
and then capitalized the with to With and put a space in between 7 and 9 and the below code worked for me:
function functionWithArgs(num1, num2) {
console.log(num1 + num2);
}
functionWithArgs(1, 2);
functionWithArgs(7, 9);
I finally did solve it all by myself. Very proud. Sometimes the answer is to take a break 