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

iOS Swift Basics (retired) Variables and Constants Variables

I canΒ΄t understand what iΒ΄m doing rong.

I type var greeting = "hello"

and it tells me that the variable has the wrong value to it.

I need help

var greeting = "hello"

2 Answers

Chris Stromberg
Chris Stromberg
Courses Plus Student 13,389 Points
You need to capitalize hello.

var greeting = "Hello"


var greeting = "hello"