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 trialBachir Kurdi
10,098 PointsDictionary challenge:Assign the value for key "UK" to a constant named ukCurrency i dont get it.
I Dont know what i'm doing wrong or maybe i'm not understanding the question correctly?
Here's my answer, in which i dont see what is wrong. let ukCurrency=["UK":"United Kingdom"]
1 Answer
Nick Janes
5,487 PointsDo not fret! I struggled a lot on that challenge too. It was a bit confusing to me. They want you to set it equal to the 'UK' value for the currencies dictionary. Make it
let ukCurrency = currencies["UK"]