r/learnjavascript • • Jan 27 '26

Crazy struggle

So I've been using js for about 2 months now. Coding consistently. I know my basics(all be it foggy). But I feel like a crazy fraud. When I'm struggling with a coding problem that I feel like I should know, the feeling sucks and then when I find the solution, I feel like I'm not smart enough for not thinking that. To add more on top of that, I sometimes use ai to help find the problem in my code and help fix it.

I understand the AI solution but it feels wrong, then I get to thinking, people did this without AI so why shouldn't I. I'm creating projects, but I don't follow tutorials I just kind of.... build. I have no framework to go off of. And when I get stuck I can normally fix it, but every once in a while there's that problem that just becomes absolutely demoralizing.

14 Upvotes

7 comments sorted by

View all comments

Show parent comment

3

u/OkCounter9632 Jan 28 '26

I felt compelled to add: in JavaScript a lot of the environment APIs seamlessly blend with ECMAscript syntax in written code.

JavaScript is a coding language that is very intertwined with environment it is running on (like node, or the browser) and those environments provide a lot of values that don’t exist outside of them.

This can add to complexity if you step outside Leetcode and build products. It is beneficial to question which ones are native js syntax and which ones are environment variables, this will help confusion and force clarity.

3

u/dymos helpful Jan 28 '26

It's an excellent point that JavaScript beyond its core features is part of an extremely rich ecosystem of runtimes and 3rd party packages.

Between Browser & DOM APIs and Node.JS APIs alone there's a LOT to cover (and TBH, part of that is why I love JS)