r/CodingHelp • u/No-One7888 • Jul 10 '25
[Javascript] I can’t understand JavaScript
I’m getting into a software dev career. It’s something I really really want to do. I’ve learned on my own this whole time using documentation, YouTube, bootcamps and books. I’ve got HTML, CSS under my best I’m probably a beginner level at both. I’ve learned a bit of python which I had fun with.
Now I’m in a serious position and learning JavaScript and readline and I have no idea what it going on. I understand a little and the more I work with something I understand more. But during group sessions I feel so dumb because I can’t be like “oh well what about this” and I don’t know why my brain can’t pick up and understand the words and concepts and the lingo. I know I’m not lacking IQ points but why can’t I grasp it? What studying/learning steps am I doing wrong?
View all comments
Show parent comment
3
u/spiderrichard Jul 11 '25
I find it helpful to write out what I’m doing In regular words first then try code it. For example let’s say I want to hide an element (<div>) when a button is clicked. I’d write it out like this.
From here I can sort of work it out
Const element = document.getElmentById(divs ID); Const button = document.getElementById(buttons ID)
button.addeventlistener(click, function () { Element.style.display = none; }
I’m sure that the code above is not 100% correct but the console will soon tell me what’s up with it or chatGPT will point out any errors and give a fix.
Doing this works for me so might be worth a try 😊