+ 1

Pages per minute test javascript

Well I can get it to always add 1 but what do I need to change to get the jumps of 20. My code now whit the 1 jump: var i = 0; for (; i<=120; i++) { document.write(i) } I need to change the i++ to make the bigger jumps. Hope u can help. I also tryed this one: var i = 0; for (; i<=120; i++) { console.log(i*20 ); } But this one won’t stop at 120

16th Jan 2021, 6:37 PM
Martijn Greven
4 Respostas
+ 1
oh thanks some things are ill explaind but i get it:)
16th Jan 2021, 7:39 PM
Martijn Greven
+ 1
// Your code here for(i = 20; i <= 120; i += 20){ console.log(i) }
12th Apr 2021, 2:43 AM
Osama
Osama - avatar
0
// Your code here let pagesMin = 20; for (i = pagesMin; i < pagesMin * 7; i+=20) { console.log(i); }
20th Feb 2022, 5:26 PM
Ifikratis Polalis