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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Manuel Costa](https://secure.gravatar.com/avatar/2ddc2ffca2e67be86bb1655cd53994e4?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Manuel Costa
2,198 PointsI can't pass the challenge after this video. how can I see the solution in order to understand my error?
That is what I have done. let FavDesserts = "FavDesserts" str = "Chocolate Cake"
2 Answers
![David Papandrew](https://uploads.teamtreehouse.com/production/profile-photos/6546692/micro_david_papandrew_2015_bw.jpg)
David Papandrew
8,386 PointsHere's the solution:
let favDessert = "Chocolate Cake"
Note the challenge asks for the constant to be singular, e.g. "favDessert" not "favDesserts". The challenge also probably wants camel case, so lowercase for the start of the constant name (this is standard Swift practice anyway, so might as well get in the habit).
![tmsmth](https://secure.gravatar.com/avatar/112315b859b76e0f87d2a892991e4977?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
tmsmth
10,543 PointsI think you should rewatch the video and see how he assigns a value to a variable. What you've done there is that you created two constants, FavDesserts and str, and you gave them respectively the value "FavDesserts" and "Chocolate Cake".
But you only need to create one called FavDesserts and assign it the name of your favorite dessert, which is probably Chocolate Cake