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!
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
Any practice projects recommendations for Java ?
I would like to get better at coding and doing the track course, however I want a project to work while I am on the way.
Greg Kitchin31,516 Points
One idea is to take a problem, and find multiple ways of solving it, or then improving it, while you learn more techniques. For example, adding the numbers between 1 and 10. In all seriousness, I had a reason to do this, and figured it would be a good exercise.
You could do 1 + 2 + 3 etc...
Then, use loops to manually do it.
Then, check out the Gauss formula. Which lets you calculate the sums between 1 and n. Sum from 1 to n = n(n + 1) / 2.
Then when you know how to take input from the user, ask for n, and then display the results.
Having your own problem to solve, and making a project to solve that problem, is a great way to learn how to do anything.