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 trialMichael Zarucki
803 PointsWhat am I doing incorrectly? text color is not changing when I enter LET Command.
What am I doing incorrectly? Text color is not changing when I enter either Let command or var.
// Enter your code below
let FavoriteDessert = "IceCream"
1 Answer
andren
28,558 PointsThe text color not changing seems to be a bug with the challenge workspace. It is not caused by any error you have made, it is an Issue on Treehouse's side.
But the color issue does not affect your code, if you enter a valid solution you will be able to pass. The problem with your current code is the fact that you have misnamed the constant, it should be named "favoriteDessert" you have named it "FavoriteDessert". Capitalization matters in programming, as far as the computer is concerned those two names are completely different, even though they might look quite similar to a human.
If you fix the name your code will pass.
Michael Zarucki
803 PointsMichael Zarucki
803 PointsAndren,
Thank you!
Michael