Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Asynchronous Programming with JavaScript Asynchronous JavaScript with Callbacks Callback Functions Review

Can't get past this

I created a previous post explaining how this whole course is confusing to me and i cant get past a previous quiz question so i cant get past this one either

Reggie Williams
Reggie Williams
Treehouse Teacher

Hey Nas Jones which question is it that you'd like to ask about?

Hey reggie thank your helping. There's actually two questions i can't get past. They're both the non-multiple choice ones. They're both fill in the blanks i don't know what to do.

1 Answer

Reggie Williams
STAFF
Reggie Williams
Treehouse Teacher

Hey Nas Jones one question asks you to pass a reference of a function to an event listener. Because the function if already defined you can refer to it with its name. Just make sure not to put any () after the function name because that would call it.

The other question does want you to invoke or call the function. It has already been passed in the parameters so now you can call it within the function

Hey reggie just to be sure the first question was asking me to pass a reference of a function and to do that you just use the function name with the "()" So if i were to be asked to pass a reference of a function again i would just call the function name without the parentheses correct?.