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 trialAlex Parkman
Courses Plus Student 1,659 PointsReally don't understand what is wrong?
I am creating a constant called title with a value of "A Dance With Dragons"
let title = "A Dance With Dragons"
4 Answers
Logan R
22,989 PointsEdit:
You have a capital W. Use with instead of With.
Alex Parkman
Courses Plus Student 1,659 PointsI have tried that as well first, it didn't work so I took it out
My first try was
let title: String = "A Dance With Dragons"
but it just keeps saying your title constant has the wrong value in it?
Logan R
22,989 PointsIt's a lowercase w not an uppercase w. Fix that and it will work :)
Alex Parkman
Courses Plus Student 1,659 PointsI have tried that as well first, it didn't work so I took it out
My first try was
let title: String = "A Dance With Dragons"
but it just keeps saying your title constant has the wrong value in it?
Alex Parkman
Courses Plus Student 1,659 PointsHa that was a sneaky move, didn't see that at all!
Thanks for the prompt reply mate, Best,
Alex.