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 trialMUZ140332 Ivan Bhariri
3,234 PointsHow am i supposed to re-arrange this code other than this way i have put it ? String favoriteColor = "Black";
I am sure i have put the data type(String) at the right place. Followed by the variable which is favoriteColor, 'equals' then my favorite color like this... String favoriteColor = "Black"; but still no congrats.......I am pretty positive i have observed all grammar.....please advice ??
String favouriteColor = "black";
1 Answer
Chris Casey
11,656 PointsYou likely spelled something wrong. Is it supposed to be "favoriteColor"?
MUZ140332 Ivan Bhariri
3,234 PointsMUZ140332 Ivan Bhariri
3,234 PointsThanks a lot Chris. Sorry i took long to respond, but am glad i completed the challenge. The answer was really as i had put above, i was having internet challenges, so also contacted the tech team at teamtreehouse, who gave me handy advise.