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

Abigail Solomon
Data Analysis Techdegree Student 4,440 PointsError: Was expecting 5 entries in the phone book. There's only 3.
I thought I entered the code right, but it looks like I didn't do it correctly. Does the code need 5 entries?
1 Answer

Steven Parker
241,488 PointsI think Travis guessed correctly. I tried it out using OR to combine the two name conditions (instead of AND) and got that exact error message.
But do remember to show your code when you post questions. Take a look at these videos about Posting a Question, using Markdown formatting to preserve the code's appearance, and this one about sharing a snapshot for when the code is in a workspace instead of a challenge.
Travis Alstrand
Treehouse Project ReviewerTravis Alstrand
Treehouse Project ReviewerAs with your previous post, could you please provide the code that you tried so we know how to help?
It's likely not deleting all the posts it's expecting to behind the scenes based off of the code you provided. Double check that your using an AND between the first and last name conditional statements 👍