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

JavaScript JavaScript Basics (Retired) Making Decisions with Conditional Statements Review Else If Clauses and JavaScript Comments

Michael Desantis
Michael Desantis
14,015 Points

Why does this question not have a place to type the second half of the answer?

So the question tells you to "comment out the 2 lines below" but doesn't offer a box for you to type out the " */ " needed to complete the answer. How does that work?

Im not sure what question this is for but you can comment multiple lines in js like this

/* line one line two */

or like this

// line one // line two

1 Answer

rydavim
rydavim
18,814 Points

It may not be displaying correctly. For me, that question does have two separate places to type answers.

If you can't see the second one, try hitting the tab key after entering your first answer. That should at least move you to the second entry block and you could try typing it and just hitting enter.

Michael Desantis
Michael Desantis
14,015 Points

I found out what the problem was. There was no underline and the text box was the same color as the background, essentially rendering it invisible. I use the tab key all the time for that, I have no idea why I didn't think of that. But yes, that worked. (I actually did pass the test the first time even with that question marked as wrong, but small things that are out of place really just drive me nuts)

I'm gonna go ahead and choose yours as best answer, you've earned treehouse points!