r/learnprogramming • • Nov 05 '25

Having trouble writing the code

I am efficient in HTML/CSS and I can read JavaScript really well. But I cannot for the life of me write it. I am doing these tutorials on objects, loops, arrays, and functions and when it gives me a task to complete I can't barely figure out where to start or how to write it out.

But when I see the completed code I understand what it is doing. I can read it easily and it is driving me insane. I have no idea how to wrap my head around these JavaScript codes to write them myself.

25 Upvotes

31 comments sorted by

View all comments

Show parent comment

1

u/v-tyan Nov 07 '25

As someone who grew up in a bilingual family, I can confirm. I can understand mandarin perfectly, but I fail horribly whenever I try to actually talk in it.

1

u/BigWongDingDong Nov 07 '25

Yeah, that's how I am with Spanish. I can communicate at a low conversation level, but I can listen to my older family members, or other Spanish speakers from the same region, talk and understand like 95% or more of what I hear, without having to translate it in my head.