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 Swift Types String Manipulation

Luke Caddy
Luke Caddy
2,304 Points

Error on 2nd task

The first two lines of code passed in the 1st task, but the 3rd line of code won't let me pass. What am I missing? -I've added a period to the end of the name constant and before the string literal " How are you?". Thank you!

strings.swift
// Enter your code below
let name = "Luke"

let greeting = "Hi there, \(name)"

let finalGreeting = "\(greeting)  How are you?"

1 Answer

Gene Bogdanovich
Gene Bogdanovich
14,618 Points

Apparently there is some kind of glitch in that code challenge. This happens every once in the while. Try to complete this challenge a little bit later. If the issue remains be sure to contact support.