Lesson 8


#1



Lesson 8: Last Practice for Loop


Error message says my loop does not print 100 to the console. In fact unless code academy is ending the script nothing prints to the console.


for (var i = 100; i <= 0; i -= 5) {
	console.log(i);
}


#2

stupidest mistake ever... Clearly needed to print when greater than 0 not vice versa. Luckily it did not crash browser.