0

The last question is wrong!

The answer of the last question has to be i<22 and not i<20 if you want to write 20 as well... you can either change the question or the answer

28th Jun 2018, 10:09 PM
IceRevenge
2 odpowiedzi
+ 2
If I'm looking at the right last question, the answer is correct. Fill in the blanks to print EVEN values from 0 to 20 using a for loop: var x = 0; for (; x <= 20; x += 2) { document.write(x); } I'm guessing you missed their tricky slip in of the =.
28th Jun 2018, 10:18 PM
John Wells
John Wells - avatar
0
oh :P
28th Jun 2018, 10:19 PM
IceRevenge