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 JavaScript Basics (Retired) Creating Reusable Code with Functions Creating a Function

javascript

I can't move on to the last section of the pre-req classes so that I can finish registering for the class because I keep getting a communication failed error on my 3rd challenge task it is on one of my first ones. I have finished everything else. I just need to move to my careers foundations and do that , but I can't because of this issue with the communication error. There are a lot of bugs in your system. Can you please check on this for me so that I may move forward. Thank you very much.

1 Answer

Steven Parker
Steven Parker
231,269 Points

:warning: SPOILER ALERT

I've gotten those "communication failed" messages sometimes when I accidentally submit an error in a challenge answer. On the 3rd task of this challenge all you do is call the function you created in tasks 1 and 2. There's no loop involved. Did your code look like this?

function sayHi() {
  alert("Hi");
}

sayHi();

Thank you Steven. I tried that the first time and thought I was wtong. It finally decided to work!