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 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 68,426 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.