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 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
231,072 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.