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 trialAllen Abraham
3,063 Pointsi don't understand the question
What am i doing wrong
var str : string ="hello,world"
str ="language"
let str ="swift"
Stone Preston
42,016 PointsAurelian Spodarec the challenge is linked on the right side of this page under "Related Content"
Aurelian Spodarec
7,369 PointsUmm, ii didn't had it when i was at my college. Either its the browser or something.
2 Answers
Stone Preston
42,016 Pointstask 1 states: Create a constant named language and assign it a string "Swift"
creating a constant looks like this:
let constantName = value
the task asks for the constant to be named language and have a value of "Swift" so all you need to write is:
let language = "Swift"
Allen Abraham
3,063 PointsThank you i was forgetting to capitalize the S of swift
Aurelian Spodarec
7,369 PointsAurelian Spodarec
7,369 PointsHI Allen Abraham !
Welcome to TeamTreeHouse!
Can you please post the question ?
-Aurelian