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

Databases Querying Relational Databases Set Operations Set Operations

Bug in the Javascript

I can't progress past this question because when I click CHECK WORK I get an error in the console that says: "d3cxv97fi8q177.cloud…58b85e71.min.js:392 Uncaught SyntaxError: Unexpected end of input". It's just a simple UNION set operation so my code should work.

Hi Steven, even before I enter any code the error displays so I do not believe it was my code, but I am probably wrong. I was entering this: "SELECT Name FROM Fruit UNION SELECT Name FROM Vegetable;"

I get feedback when I do a simple query like "SELECT * FROM Fruit" because it correctly displays "You have not used UNION". But then whatever variation I attempt with UNION never gets feedback.

1 Answer

Steven Parker
Steven Parker
231,268 Points

For future questions, be sure to post the complete code you are entering. You might also want to take a look at this video about Posting a Question.

But in this case, I wasn't able to get a correct response either, just a message saying "We didn't hear from the challenge service…" so it might be a server problem. Only the staff can help with this kind of problem, so you might want to contact Support directly.

Steven Parker
Steven Parker
231,268 Points

Update: I tried it again today and it seems to be working now. Give it another shot.