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 trialIan Callahan
Courses Plus Student 228 PointsI don't understand
why is the carrot under the "T" and how would I resolve this issue?
let title; "A Dance with Dragons"
2 Answers
Nejc Vukovic
Full Stack JavaScript Techdegree Graduate 51,574 PointsHI.
You typed a " ; " in your constant declaration.
Be careful here ->
let title : String = "A Dance with Dragons"
This is the right answer. To clarify: "let" keyword tells the system that you are declaring a constant (constant cannot be changed when they are initialized with a value), then ": String " tells the system that the constant will be of type String, and finally =" A Dance with Dragons" sets the constant with this string value.
Hope this clears some things.
Regards,
N.V.
Ian Callahan
Courses Plus Student 228 PointsOh yes thank you!! I ended up re watching the lecture and caught it myself. Thanks for the help
Nejc Vukovic
Full Stack JavaScript Techdegree Graduate 51,574 PointsWelcome. And don't worry you'll get more and more questions as you progress, but the solution is easy: either the Documentation or Treehouse forum, you'll get your answer.
Enjoy your Sunday.