> For the complete documentation index, see [llms.txt](https://node-girls.gitbook.io/beginners-javascript/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://node-girls.gitbook.io/beginners-javascript/challenges/challenge-3-fix-the-code.md).

# Challenge 3: Fix the Code

The following code invokes a function called 'add' that adds two numbers together. When you run this code, it should add 13 to 27, and output '40' to the console.

But this code is broken! Using your newfound JavaScript knowledge, find the bugs and fix it.

```javascript
var first number = 13;
var second number = 27;
​
function 'add' () {
  return x + y;
}
​
add(first number, second number);
```
