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 trialRyan Moore
Courses Plus Student 1,241 PointsThe comment lines in the challenge are invisible until I delete one of the first two (invisible!) slashes.
I can only see a few tiny marks in the window until I delete the slashes, then the line becomes visible.
String firstName = "Gordon";
String lastName = "Sumner";
// console.printf("Hello %s", firstName)
// band = console.readLine("Which band? ");
Ryan Moore
Courses Plus Student 1,241 PointsMy question is, when I'm doing the challenge, why can't I see those two comment lines:
// console.printf("Hello %s", firstName)
// band = console.readLine("Which band? ");
and what, if anything, can I do to fix it?
Kevin Faust
15,353 PointsI'm not quite sure if I'm understanding your problem. All you do is uncomment the code one by one (removing the // before each line of code) and fix the small errors.
What do you mean by "why can't I see those two comment lines"?
Ryan Moore
Courses Plus Student 1,241 PointsAs I said, when I'm doing the challenge, those two lines are invisible. I cannot see them. Anything that is commented out is invisible to me for some reason. Once I uncomment it, the line becomes visible again. I have to guess as to the lines' locations. Also, highlighting with ctrl+a or clicking and dragging does not make the code visible. Only uncommenting does.
Kevin Faust
15,353 Pointswell that's strange. were you still able to pass the challenge?
Ryan Moore
Courses Plus Student 1,241 PointsYes, I've been able to pass the challenges, but it's initially confusing if I start the coding challenge and no code appears on the screen because all the code is commented out and therefore (for some reason I don't understand) invisible.
Kevin Faust
15,353 PointsKevin Faust
15,353 PointsWhat was your question?