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

Java Java Basics Using your New Tools Fix the Errors

The 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.

FixMe.java
String firstName = "Gordon";
String lastName = "Sumner";

// console.printf("Hello %s", firstName)

// band = console.readLine("Which band?  ");
Kevin Faust
Kevin Faust
15,353 Points

What was your question?

My 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
Kevin Faust
15,353 Points

I'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"?

As 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
Kevin Faust
15,353 Points

well that's strange. were you still able to pass the challenge?

Yes, 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.