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 trialShadrach Massaquoi
64 PointsSetting your favorite color string challenge
I'm trying to figure out the correct order to set the variable, but need some hints. Can you help me out?
2 Answers
Taylor Patterson
Courses Plus Student 1,769 PointsYes, first you must define what type of variable it is, so String, and then what will you name the variable.... favoriteColor then set it equal to "blue"; so String favoriteColor = "blue";
Taylor Patterson
Courses Plus Student 1,769 PointsYeah! Stick with it I know it can be frustrating at first but it is so much fun the more you do it!!
Shadrach Massaquoi
64 PointsShadrach Massaquoi
64 PointsThanks a lot! Can't wait to be adept at coding!