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 trialDevendra Kumar Singh
769 Pointsgetting bummer
Declare an NSDictionary variable named 'album'. Assign the following key/pairs to it: "title" - "Abbey Road", "artist" - "The Beatles”.
NSDictionary *album = @ {@"title" : @"Abbey Road", @"artist" : @"The-Beatles”};
It giving bummer, whats wrong with my answer
2 Answers
Marlon Pleitez
Full Stack JavaScript Techdegree Student 9,563 PointsRemove the dash from The-Beatles? I'm not really sure as I am learning this too. What I do know is that the editor is extremely picky with names so make sure you spelled everything exactly like the tasks tells you to.
Kieran Tross
8,266 PointsI did this challenge before and the compiler took my code. Make sure you use the correct syntax and content for you code. Please see the below answer.
NSDictionary *album = @{@"title":@"Abbey Road", @"artist":@"The Beatles"};