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

Android Build a Simple Android App (2014) Getting Started with Android Troubleshooting Java

How to set the favoriteColor variable to your favorite color? You might need to move some things around and add or chang

Adroid Development

2 Answers

David Hope
David Hope
19,876 Points

Could you please clarify the problem you are having with this, Beau.

Daniel Hartin
Daniel Hartin
18,106 Points

At the end of each section treehouse uses a series of quizzes and code challenges to help you make sure you have picked up everything in the previous lesson.

The code challenges have a similar function to a basic text editor you should simply click on the line and start typing then click on the green button at the top when you wish to submit your code.

In this code challenge you should type/change the code to be correct based on the knowledge you should have gained in the previous lesson. Your code should look like below:

String favouriteColor = "Purple";

Hope this helps Daniel