Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

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
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?.