r/learnjavascript • u/Previous-Ad-9723 • Jun 14 '26
Currently I am learning js but I feel stuck, When practically doing logic problem I can't solve them . Practiced it but I forget when I later looked into that same question again. As a beginner how to overcome this .
34
Upvotes
3
u/diogenes_sadecv Jun 14 '26
Give me a problem that's been hard for you and I'll tell you how I would walk through it.
5
u/Japosai Jun 14 '26
Same here bro. Learning JS is a damn nightmare. I’ve been grinding 6h a day minimum and it’s hella frustrating that I still can’t think in JS yet.
But I gotta believe that consistency and discipline can break through this wall. 💪🏼
11
u/Psionatix Jun 14 '26
By learning CS fundamentals and learning a programming language as a secondary objective to that. You use languages as a tool, unless you’re following an actual curriculum, it’s unlikely you’re learning the skills to translate problems into technical solutions. You learn the approaches and repeatable processes that allow you to break down problems and identify certain patterns.
At least do CS50.
1
u/mc_pm Jun 14 '26
How are you studying? How much time a day are you spending actually programming? What was the last thing you tried to program?
1
u/TheRNGuy Jun 15 '26
Do you forget the API, or just don't understand abstraction of logic?
2
u/milkyinglenook Jun 14 '26
understand the pattern not the solution. write one sentence explaining why it works after each problem, recall gets way better than memorizing answers
2
u/mastersofPH Jun 15 '26
Getting stuck on logic is lowkey a rite of passage for every single developer.
3
u/Hackart_Temple Jun 14 '26
Practice makes perfect, I would also suggest that you log into Pinterest and learn Js in pictorials. Visuals helps a lot in mastering logic, fundamentals and algorithmic technical s. Also don't take it too serious!!! Try and make your learning experience a little bit fun. Smoke some potent marijuana and herbal tea .
1
u/HawH2 Jun 14 '26
Go to codewars and solve problems and use google but don't google the answer
1
u/EugenioSc Jun 14 '26
You need to learn and understand the fundaments of programming before a language syntax and weird sheananigans, once you do that, then you know 75% of any programming lenguage.
1
u/Unique-Anything6725 Jun 15 '26
Time and repetition
1
u/marco3232 Jun 15 '26
Don't give up! As a fellow JS beginner, I totally feel your pain. I often forgot the logic, too. Right now, I'm practicing on FreeCodeCamp, and it really helps.I think endless practice is the only way to learn programming. We can do this together!
1
u/Intelligent_Tree6918 Jun 15 '26
Its Normal solve 100 questions then you will be able to create most of the logic do not worry Keep going.
1
u/TechAcademyCoding Jun 19 '26
As a beginner, I'd focus less on memorizing solutions and more on understanding the steps used to solve them. If you keep forgetting a problem, try solving it again from scratch a few days later before looking at the answer. That process of struggling to recall the logic is often what makes it stick.
Also, don't spend all your time on coding challenges. Building small projects alongside them can help you see where and why those concepts are used, which usually makes them easier to remember.
0
u/Flame77ofc Jun 14 '26
practice more. if you don't know the syntax, then watch more tutorials and practice on every single of them