Why does lesson % keep crashing please help


#1

well lesson 5 freezes up any suggestions?


#2

Could you please present the code you are using...


#3

I just ran into the same problem. Presumably, you're writing i + 5 instead of i += 5. The former only works if it reads i = i +5, which I assume is equivalent to i += 5. Unfortunately the lesson doesn't teach what += is: http://www.w3schools.com/js/js_operators.asp


#4

@atkinsond,

You are writing about the assignment-operator
= https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Assignment_Operators
( also look in the lefthand-column for the other operators )

Reference

google search
== the Book ==
javascript [your question] site:developer.mozilla.org

== discussions / opinions ==
javascript [your question] site:stackoverflow.com

== guidance ==
www.crockford.com
http://javascript.crockford.com/code.html <<==How to properly format your code
http://javascript.crockford.com/survey.html

= http://stackoverflow.com/questions/9549780/what-does-this-symbol-mean-in-javascript
https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
www.developer.mozilla.org/en-US/docs/Web/JavaScript/Guide
= http://stackoverflow.com/questions/336859/var-functionname-function-vs-function-functionname?rq=1