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!
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
Abdul Fawaz115 Points
"Make sure the value you are assigning to greeting is an interpolated string" i have no idea on what this means
I have tried assigning them to interpolated string and but still says the same thing repeatedly.
// Enter your code below let namlet name = "abdul" let greeting = " Hi, there" let interpolated = " name: abdul , greeting: Hi, there";
Magnus Hållberg17,232 Points
An interpolated string is a string that can also hold values from other strings or other compatible types. The syntax looks like this:
let myString = “Hi” let myInterpolatedString = “\(myString) there” // this would print “Hi there”
I suggest you rewatch the videos, if missed this you probably missed other important things. Good luck