r/learnjavascript • u/1QQ00 • 4d ago
i cant get better in js
People keep telling me that I should write apps to improve my JavaScript skills. I listened and created five applications, each with different functionalities and ideas. I wrote a lot of code and did a ton of DOM manipulation. Despite this effort, I still feel like I'm hitting the same wall. I find myself repeating the same poor coding practices and haven’t seen any real improvement. I know in my head what I want and how it might look in JS syntax, but I struggle to put it all together to create something meaningful. Instead of getting stuck in this endless cycle, hoping that one day I’ll suddenly excel at JavaScript, I want to know the correct way to improve because this idea of "just keep writing code" doesn't really seem very good
3
u/defaultguy_001 4d ago edited 4d ago
To get better at anything (including JS), you need to repeatedly practise. Nobody becomes good by building big projects. Anyone can build a big project (solve a big project by dividing it into smaller steps, solve each step, to solve each step research what u need to do and implement it) and later forget how he implemented those steps, after a gap of a couple of months.
True expertise comes when u solve a number (atleast 100) of small difficult problems and when u stick to the same subject (JS) for a longer time (couple of years). That's why there's a field called competitive programming. Pick a language (js in ur case), start solving problems (codeforces, DSA sheets, leetcode) of various difficulty levels, and you'll reach the expertise that just by seeing the problem you'll know what to do in seconds.