r/learnprogramming • u/juniorsis • 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
View all comments
Show parent comment
2
u/BigWongDingDong Nov 06 '25
Maybe that's what you do, but people who grow up monolingual in a bilingual family can absolutely understand the language, but aren't practiced at producing the words to represent their ideas, and Id imagine this is true for many second-language learners as well, especially if the way they learned didn't focus on speaking. It's like when you know there's a word for something you're trying to say, it's on the tip of your tongue, but if you heard it in speech you would know what it meant, but on a larger scale. There's millions of people who can read Latin fluently, but most can't compose more than simple sentences, because Latin is taught in schools as a language to be read, not spoken or written.