Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _steps/step7-functions.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ When the function encounters the `return` keyword, the function stops running im
Now let's invoke it from `setColor` and just log the result. Add this line to the end of `setColor`:

```Javascript
console.log(getMessage(color, elementId));
console.log(getMessage(event.target.value, event.target.name));
```

Save it and test it in the browser. See how the return value from `getMessage` is “passed back” to `console.log`
Expand Down