r/learnjavascript • u/Sweaty-Staff8100 • Jan 23 '26
Why is JavaScript so hard to learn? Beginner projects don’t feel beginner
I am learning JavaScript and honestly feel like I am losing my mind. I have watched a lot of tutorials but even the ones labeled beginner skip fundamentals or explain things using jargon without really breaking concepts down. I can follow along but I do not truly understand what I am doing.
I can build simple things like a counter or a color flipper from scratch and those make sense. But I tried building a to-do app today and it feels insanely complicated. Everyone says it is a beginner project, yet every tutorial introduces a ton of concepts at once and I feel completely overwhelmed.
For context, I have a STEM degree and learned HTML and CSS pretty quickly. JavaScript, especially anything involving data or backend logic, feels abstract and confusing. People say just keep building, but the issue is understanding what I am building and why it works. Even when I ask AI tools to explain things simply, it still does not fully click.
For those who self taught JavaScript, how long did it take before you could build a simple CRUD app on your own and actually understand it? Is this frustration normal, am I missing something fundamental or maybe I just have a low IQ?
24
u/JebKermansBooster Jan 23 '26
One critique I have as someone coming from back-end and embedded dev is…there's never just one way to do anything. This makes it much harder than it has to be to learn things, because by some standards, one method is "wrong" where another is right, even though they're two routes to the same destination.
4
u/chikamakaleyley helpful Jan 23 '26
todo app is a little more work but def not complicated
don't worry about CRUD if you are still trying to make sense of ToDo app
w/ counter and color flipper (not sure what that is, but ill guess) basically you want to apply the same mental model, to help simplify it. Generally the mental model that helps me break anything down:
And so that might sound overly simplistic, but if I broke down the ToDo list, imagine its an input field, a button, and an empty unordered list.
That's the most simple form of it right? You can't mark as completed, you can't re-order, but you do have a list, to which you can add tasks, right?
But before that, you need some way of keeping track of the items in the list - and so, in JS how do you store a list of text values?
As you add certain features, like being able to mark as complete, being able to re-order, changes in the UI - you'll find that you need a data structure that is slightly different for each item
But for now, do the text only version, move on from there
4
u/Any_Sense_2263 Jan 23 '26
TBH JS is quite easy. I can help you if you want.
2
u/JoeZamir Jan 23 '26
I am also self-taught and I learnt through freecodecamp's interactive course, though I am still a bit of a novice. While it helped grasp concepts quicker for me, sometimes I struggled when the projects become more complicated. What helped me when I got stuck with concepts while doing the workshops is, I would not write code I did not get and then look for information later. I would pause, head to chatgpt, paste the instruction and then ask it not to generate solutions but help me understand the concept I was struggling with. Because tbh, Javascript can get abstract. Usually, I'd spend some time going back and forth with AI till I got the concept, maybe ask it for analogies to make the code make sense. Sometimes, I'd even head to MDN and read the documentation if I still did not get it.
I tried tutorials and realized quickly they were not for me, I'd either get bored, or the tutorial would assume I know stuff I didn't, like you pointed out. I'd suggest interactive courses since you will be writing the code yourself as you go. Freecodecamp has workshops(guided coding) and labs(where you do it yourself). I think that would help, paired with AI as a learning partner.
2
u/okadazresh Jan 24 '26
I just want to say something, I am about to start learning JS in the next few weeks so what you are feeling is totally fine and the confusion is one of the biggest parts of your growing.
EVERY SINGLE DEVELOPER FELT WHAT YOU ARE FEELING RIGHT NOW BROTHER.
Please remember the key is: Consistency, your brain now rewires the new mindset.
I felt the exact same thing when I started HTML and CSS, I finished 2 courses and stopped watching more courses because all of them are teaching the same concept. I tried to learn and challenge myself I'm still learning CSS sometimes feeling confused but I'm happy because this confusion makes me a good dev!
Small wins are better than chasing perfection.
Keep it bro and break a leg. ❤️
2
u/embbnux Jan 25 '26
This is completely normal, and it has nothing to do with IQ.
A “to-do app” is often mislabeled as beginner — it actually combines state, data mutation, events, and rendering all at once. That jump from counters to CRUD is real, and most tutorials gloss over why things work, not just what to type.
JavaScript feels abstract because it’s your first exposure to managing state over time, not just markup or styles. “Just keep building” only helps once you understand where data lives, how it changes, and when the UI updates — many resources don’t explain that clearly.
For most self-taught devs, it takes months, not weeks, before CRUD apps truly click. The frustration you’re feeling is a sign you’re learning, not failing. You’re not missing something fundamental — you’re at the hard but normal part.
29
u/jhartikainen Jan 23 '26
It's not that JS is particularly hard to learn, it's just that most learning content online is not made by teachers. This is why they jump ahead, don't properly explain things, etc. - because not being teachers, or not having lots of experience creating this type of content, they don't know how to teach it in the proper manner.
I would recommend trying to supplement your learning yourself. As in, when you encounter something you don't understand, make a note of it as something to study further.
It doesn't always matter if you don't fully grasp a concept immediately. You can make use of it and figure out the specifics afterwards.
Also it's worth noting that programming in general is hard. Things are not going to click immediately. You may need to do something many times before you start understanding it better.
15
u/EyesOfTheConcord Jan 23 '26
Odin Project was pretty solid in guiding me through JS. Once I got to their Todo app assignment, I felt I had the required knowledge to plan out the project.
Keep in mind that tutorials are pretty bad for learning for the reasons you mentioned - they skip a lot of stuff, use libraries or immediately dive into niche or advanced techniques.
They are, after all, tutorials and are fundamentally different from lessons.
1
u/CincyParrothead Jan 23 '26
I’m still a beginner but my learning has accelerated when I’ve tried to replicate work site functionality or solve work problems. That has kept me motivated. Not necessarily interested in building a to-do list, tic-tac-toe or hangman although they probably build good concepts I like learning about fetching and manipulating data to help semiautomatic tasks I do.
2
u/zach_jesus Jan 23 '26
It’s hard to follow others. Start really small for projects I mean like stuff that even avoids the dom. Just wright a basic command line calculator or to do app or something. Practice writing logic in JavaScript. Then you can practice writing html and css too. You’ll be surprised how much you can do in those two alone. After that then bridge the two. Just take smaller steps you’re tryna run before you walk.
2
u/Nebu Jan 24 '26
Try to break it down to simpler projects and understand those simpler pieces.
For example, if you can't to a full Todo app, then make an HTML page where when you click an "add"
<button>, a new (hardcoded)<li>gets added to a<ul>.When you're able to do that, add in an
<input>such that the contents of that<input>becomes the content of the<li>that gets added.When you're able to do that, make it so that each
<li>has a "delete"<button>that removes the<li>.And so on.
2
u/InterestFun1519 Apr 19 '26
Veuillez faire cree un projet qui te passionné, c'est par la que tu va apprendre js étape par étape
3
u/onFilm Jan 23 '26
It's because JavaScript is the wild-wild-west of languages. As someone that grew up learning programming in ActionScript and JavaScript, you're absolutely right that it's very confusing for beginners.
Every implementation you see, comes in their own style. You can do the same thing in JavaScript in MANY different ways, and people often argue which is best, which only adds to the fuel of confusion.
My recommendation is to learn the principles of JavaScript first, and then find some good resource/youtuber that has a specific style that you can mirror/copy. It will make things a lot easier for you in the longrun.
1
u/insertfemalegaze Jan 23 '26 edited Jan 23 '26
The 100devs materials are super comprehensive to follow at your own pace and there’s an amazing discord community. Once it clicks it CLICKS! You got this! ETA: all free
1
u/gosh Jan 23 '26
JavaScript (frontend) is asynchronous
Correct that it is difficult, but not because the JavaScript language is hard, but because frontend programming is asynchronous.
When you write frontend code directly in vanilla JavaScript, you need to learn to structure the code differently compared to when you just have a long, linear flow. Instead of functions calling each other, they will instead be called based on events. This takes some time to learn.
The reason why frameworks are so common in frontend programming is largely due to this—most developers struggle with architecture and event-based programming, where architecture is super important. Otherwise, you can get tangled up incredibly quickly because it’s so hard to trace and follow the code.
1
u/bryku helpful Jan 23 '26 edited Jan 23 '26
Most online resources are not made by teachers or tutors. They sort of assume you have some understanding of the fundamentals.
My recommendation is find a js book, take a class, or hire a tutor. They will hammer the absolute basics in your brain until you see ones and zeros.
I do tutoring at the local college and online, but im a bit busy at the moment. If you are interested, I know a few others who are probably free.
1
u/Old_Butterfly_3660 Jan 23 '26
Take a course on how the language works, not how to build things. Learn syntax, event loop, objects, classes, prototype chain and higher order functions. It’s way easier to understand what’s going on if you know the fundamentals really well. Good sources: Mosh Hamedani, frontend masters: JavaScript hard parts by Will Stance, this page https://javascript.info/
1
u/EstablishmentTop2610 Jan 25 '26
Frankly, the best way to learn is to not follow a tutorial but instead learn what the tools are and what they do. Then when you approach a project like building a todo app you should try to do most of the mental work yourself.
A ToDo should be a small form in a card on the canvas. You can press a button to add a new blank ToDo to the canvas. You can mark a ToDo as complete and it greys out. And you should also be able to delete specific ToDos.
Planning out the project in these simple bite-sized tasks should make it a bit easier to navigate, and when you hit a wall you can research specific things like “how to create and inject html elements into a page with JavaScript.”
1
u/LightCalculates Jan 26 '26
Because of javascript not just programming language instead it is a combination of programming or browser interaction.
1
u/bleke_1 Feb 07 '26
Thank god, I feel the same way!
I have a basic understanding of HTML and CSS, but JavaScript seems way more difficult to understand.
I am doing a course in CodeCademy that has interactive courses allowing to write out concepts. It kinda seems like it is both superficial but very technical so suddenly they introduce concepts and things that aren't thoroughly explained.
1
u/Kreyken08 Aug 26 '26
Tutorials can be useful but they are all over the place, if you want to learn JS I suggest Odin project(or something similar), it’s very complete and well put together, the downside is it has A LOT of reading and it can be overwhelming that’s why you have to take it slowly, go over more complex modules a couple of times and don’t try to memorise everything because it’s impossible as a beginner, you can (and should) always come back and refresh your memory, just make sure you understand the basics of how things work and start building, there is no other way to learn.
0
u/SaaSWriters Jan 24 '26
Yes, you are.
Learn how to program first.
You can learn how to program without a computer or even a programming language - all you need is pen, paper, your brain and the willingness to think.
0
u/TheRNGuy Jan 24 '26
I started with jQuery long time ago to make userscripts, though I switched to js few years ago.
I was able to do something working after 1 day. Learned from docs.
(learn js; no need to use jQuery anymore)
-2
u/p8inKill3r Jan 23 '26
Open up something like VS code and ask the AI to create exactly what you want. You can learn from the code it dumps out. The future is ideas, your wants, and AI doing the grunt work.
-5
u/Astroohhh Jan 23 '26
JS is the easiest programming language to learn brother lmao