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 trialPriyesh Tungare
13,168 PointsReformatting Log.i()
Not able to make the Log.i statement Used Log.i("CodeChallenge",title + i +", "+pages);
But still getting error saying please check the log.i statement
1 Answer
Steve Hunter
57,712 PointsI think you need a + before the word title too.
Priyesh Tungare
13,168 PointsPriyesh Tungare
13,168 PointsIt worked when I used : Log.i("CodeChallenge", title + ", " + pages); I think the 'i' was not required.