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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![deandede](https://secure.gravatar.com/avatar/72e834b4d06f8e6b368ab352433879d8?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
deandede
1,433 PointsThis Is how I created my Proto "ABOUT YOU" Hope this will help most of you.
import java.io.Console;
public class TreeStory {
public static void main(String[] args) {
Console console = System.console();
console.printf ("ABOUT YOU \n---------\n");
String name = console.readLine ("What Is Your Name: ");
String country = console.readLine ("What Is Your Country: ");
String food = console.readLine ("What Is Your Favorite Food ");
String hobby = console.readLine ("What Is Your Hobby: ");
String ambition = console.readLine ("What Is Your Ambition ");
console.printf("\nHi there I am %s.\nIam from %s.\nMy favorite food is %s.\nMy Hobby would be %s.\nFurthermore my main ambition is to be a %s.\n", name, country, food, hobby, ambition);
}
}
Craig Dennis
Treehouse TeacherCraig Dennis
Treehouse TeacherI added some color coding for you by prefixing the coding block with 3 back ticks followed by java
And at the bottom I wrote ```.
If you go into edit you can see what I mean!
Thanks for your example!