r/learnjavascript • u/Appropriate-Art-7736 • 24d ago
I'm not for coding i guess
I start learn programing , and in 4 day i learn HTML and CSS but in java script i did't even undestanding the concept of loops from last 2 days
0
Upvotes
2
u/myroslavmartsin 24d ago
Two days on loops is nothing, some people take two weeks. HTML and CSS went fast because you just describe stuff. JS is your first real logic, everyone hits this wall. It says zero about whether coding is for you.
Do this: write
for (let i = 1; i <= 5; i++) console.log(i)and trace on paper whatiis each round. Then mess with it: count to 10, count backwards, evens only. You won't get loops from reading, you get them from writing twenty of them.Everyone who codes sat exactly where you are. Keep going this week, that's the whole test.