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

iOS Swift Basics (retired) Types Numbers

I'm stuck in a challenge where it ask me to store a book title named "Dancing With A Dragon"

What I did is let title: String = "Dancing With A Dragon" why is it failed?

numbers.swift
let title: String = "A Dance With A Dragon"

2 Answers

The problem may be that the challenge says to make the string equal "A Dance with Dragons", rather than "Dancing With A Dragon".

Sorry, I finally got it, it should be "A Dance with Dragons", instead I typed "A Dance With Dragon". I typed capital "W" and also missing an "s". Thanks for your help anyway.