Fundamentals Part 3 - Help!

Hi. I am starting the Fundamentals Part 3 Practice. I just wanted to know what I’d need to add to the cosole.log line in order to see the output in my browser for the code below and if there is anything else I need to do in order to get my code working. Appreciate the help so much!

<!DOCTYPE html>
    <title>Add 7 Function</title>
    <meta charset="UTF-8"/>
    function Add7(a, 7) {
        return a + 7;


In order for the console.log() function to work, it needs to know what you want it to print, for example: console.log("Hello world!") is gonna print Hello world!, in your case, for example, you might want to do console.log(Add7(3)).

I don’t think that you have to add the 7 to the function definition, just adding it in the return statement is good enough; but I don’t think that JS raises an error if you do.

The MDN docs, while intimidating, are a blessing.
Hope this works!

1 Like