Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript JavaScript Loops, Arrays and Objects Simplify Repetitive Tasks with Loops Review while loops, do...while loops, and Loop Conditions

Anthony Lakin
Anthony Lakin
11,687 Points

There seems to be no correct answer out of the four options listed for this question.

Q: Given the code below, what will print out to the console?

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

There are two separate questions that begin this way. Each one of them has a different answer and they both do have a correct answer. Because the questions are presented in a random order it's impossible to know to which one you are referring. Can you please supply the rest of the question text? :smiley:

Anthony Lakin
Anthony Lakin
11,687 Points

It is now working properly after another attempt because it has finally accepted the correct answer when I selected it. So no further help is required.

Thank you

1 Answer

Steven Parker
Steven Parker
220,634 Points

I'm guessing that in your first attempt you just got the loop types confused. The question itself is the same, but the examples are slightly different and the correct answers are also different as a result.