in this instance, it would be better to do this: 
`for (var x = 1; x < 11; x +=1)`
or 
`for(var x = 1; x < 11; x +=1)`
your code works, but the examples given here will help make better coding habits.