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 trialRASHU BHATNAGAR
Courses Plus Student 2,669 PointsRibbit App code chalenge help
Hi Guys I am doing the Ribbit app code challenge 3/4 My answer is this : if( isCorrect == YES) { UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Hooray" message:@"You did it!" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil]; } I am not sure where i am going wrong, however this code works fine in xcode. The treehouse editor is giving me this message: Bummer! Make sure you use the correct title as specified in the instructions!
Thanks
5 Answers
Stone Preston
42,016 Pointscant say for sure without seeing the actual challenge, but possibly try adding a ! to the end of your title:
initWithTitle:@"Hooray!"
Natacha S
11,561 Pointswhat's the code challenge link ?
RASHU BHATNAGAR
Courses Plus Student 2,669 PointsSorry Guys , here is the link.. http://teamtreehouse.com/library/signing-up-new-users-part-1-uialertview
Stone Preston
42,016 Pointsi just tried the challenge and passed task by adding an exclamation point to your title:
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Hooray!" message:@"You did it!" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil]; }
Natacha S
11,561 Pointsyes that's also what I suspected !
RASHU BHATNAGAR
Courses Plus Student 2,669 PointsThank You Stone and Natacha for your help... I guess that was the same reason it was not letting me pass.... Thanks again