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 React by Example Building the Application Creating the Counter

Humberto Ventura
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Humberto Ventura
Front End Web Development Techdegree Graduate 14,734 Points

I am getting errors all the time in the compiler

I am doing exactly as Guil says and I am getting errors in the compiler everytime. Alerady asked for help. How is it possible the application with exact same code as Guil has does not work properly?

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! I found your previous question in the forums here, but I would be interested in seeing a snapshot of your workspace. I can say, though. that your code from the other question doesn't match exactly from what I've seen thus far. You've named the function removeGuest as opposed to what Guil has. He named the function removeGuestAt. This makes me wonder if something is off immediately preceding that function definition that may be invalidating it. I look forward to hearing back! :sparkles:

4 Answers

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

I would prefer to see a snapshot of your workspace or a link to a GitHub repo. This is going to be almost impossible to troubleshoot otherwise. The problem might not be in the code, but in the workspace, the file structure, a myriad of things.

You can make a snapshot of your workspace by clicking the camera icon on the upper right-hand side and linking it here :smiley:

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Ok, then your best bet would be a link to a repository on GitHub. Alternatively, you can post all your code here. I would suggest reviewing how to post code here, if you're not familiar with it. A markdown cheatsheet is available at the bottom of the "Add an Answer" section.

Humberto Ventura
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Humberto Ventura
Front End Web Development Techdegree Graduate 14,734 Points

The app was working fine until the confirm Guests handler come to place. From this part on the compiler simply wont respond as it should, I repeated the steps many times over.

Chris Freeman
Chris Freeman
Treehouse Moderator 67,778 Points

Without seeing the source code, and the exact errors produced, the best guess will always be "have you tried turning it off and back on again?" Otherwise, I wish you good luck on resolving your issue.