r/learnjavascript • u/Responsible-Fig-7413 • Oct 15 '26
Probably going to fail my program because I can't understand JavaScript at all
My college program is 2 years and my first semester has JavaScript and second semester has python. I am a month into my program and I'm doing well in SQL and HTML courses, but JavaScript is making me annoyed constantly and want to drop the program. I understand the different topics on their own but the second I'm asked to do anything or explain when they're put together I'm lost and have no clue what to do, I have no interest in programming but need it if I want to pass this program and potentially do my last two years for cybersecurity. How can I better understand JavaScript since my mid term is in two weeks for it?
3
u/ComprehensiveWord201 Oct 15 '26
Go write some JavaScript. There's loads of educational content free online.
It's one of the easiest languages out there.
1
u/Responsible-Fig-7413 Oct 16 '26
I've been trying but I can't remember what I'm supposed to write. SQL was easy for me since it's fairly repetitive and easy to build muscle memory, but I've been struggling with that aspect in JavaScript. So when I go to practice and try stuff out I get lost
2
u/ComprehensiveWord201 Oct 16 '26
First, do not use AI. Put it down.
Go do codeacademy or something similar
2
u/ComprehensiveWord201 Oct 16 '26
If you know how for loops, if statements, variable assignment and functions work, that's 90% of programming.
Everything else is just learning the standard library. Be patient and just chew through each problem. Look at what's available to you in the language by reading the docs
2
u/LightUpShoes4DemHoes Oct 16 '26
Amen. And one of the faster ones since Google made V8. It beats Python on run time, but not ease of use. Itâs a perfect middle-road language and the most used one in the world. Itâs a good âstarting pointâ for programming imo
2
u/nog642 Oct 15 '26
What's your program? Cybersecurity? Seems weird to do that if you have no interest in programming.
What specific things are confusing to you? Try doing some practice problems.
1
u/Responsible-Fig-7413 Oct 16 '26
Sorry for broad post. My program is a general computer program, I'm in my first semester so it starts with database management, system administration, web design and JavaScript. The second semester has python programming, communication and networking, Linux administration, software analysis and design and windows administration. Then after you complete the programs second year you get a diploma and can transfer to a different school and do 1-2 years of cybersecurity if you wish. As for what I'm struggling with in JavaScript, whether it's functions, loops or operators I can't remember what each tool does, but when I go to practice I end up staring at a blank environment and don't know what to do, so I feel really stuck because this is the main thing I'm struggling with.
1
u/GinRhetoric Oct 16 '26
W3 has great resources that walk you through it.
Iâve been developing stuff a long time and there are done languages I just dislike. JavaScript is one of them. With hire your brain seems to work youâll do a lot better with Python. Just look up examples of hire each of those things work and hire to use them. Itâs more like writing a logical proof than using a tool.
1
u/Responsible-Fig-7413 Oct 16 '26
Okay I'll try that. When you first started what really helped you get the right thought processes for coding?
1
u/GinRhetoric Oct 16 '26 edited Oct 16 '26
lol itâs stupid but I used to study magic and the occult. Itâs practically the same as coding at some level. Like the greater ritual of the pentagram is like setting up your IDE, then the specifics of what to accomplish come in and is broken into steps. Then you close the ritual. Of course nothing happens in magic, but itâs core concepts, that when replaced with code, and real purpose translates well. Making calls to things in the back end, invoking, displaying things to user evoking. Etc. processes in some older code, like on Linux, I believe used to be called deamons even, entities working on the background construct doing invisible work that keeps the operating system going and allowing user interactions.
I studied modern logic as well. It helps a lot in training your brain to break things down. Thatâs all programming is. Logic. And it can be applied to any language. Helps you understand core concepts.
1
1
u/nog642 Oct 16 '26
Seems weird to do a computer program if you have no interest in programming. What do you want to do with your degree?
but when I go to practice I end up staring at a blank environment and don't know what to do
I think you need to maybe start with easier practice. Go simpler and simpler until you start knowing what to do. You can use some help if you're stuck on the really basic ones.
Also you can always look up what each tool does. That's not 'cheating' - the point is to learn to problem solve, not memorize the language. Memorization will come with practice.
if you're math inclined, https://projecteuler.net is fun.
1
u/TheRNGuy Oct 24 '26
Learn to debug, ask ai for help (explaining stuff, not just vibe code without looking at code)
1
u/theJacofalltrades Nov 03 '26
maybe you can take a crash course, have you looked into bootcamps? seen people recommend boot dev
1
1
u/NoDefaultForMe Oct 16 '26
The best thing to do is to either find a decent JS course on youtube, something like code academy or buy a course on Udemy. That'll start with the basics and build up using what you've learn in previous lessons.
Then try to build something on your own. A to do list, a budget app or holiday planner.
You want to be able to build a simple UI, forms, take the data from the forms and display it in the UI.
1
u/GJ1nX Oct 16 '26
Look up "eloquent JavaScript"
It's an interactive pdf basically that goes over most of the basics
1
u/wbport1 Oct 17 '26
One of my first books on JavaScript was Javascript, the Definitive Guide. It started with a working loan calculation page and for me was very helpful in seeing how data was read from the screen, how the buttons on the screen started running functions, and how output was written back to the screen. When I wanted to change it to accept years and months as the loan length, there was already an example in front of me.
Finding code that works, breaking it to make a change, and fixing it is a valuable technique in learning.
0
Oct 15 '26
[removed] â view removed comment
1
u/Responsible-Fig-7413 Oct 16 '26
I'll try this out, ty
1
u/denerose Oct 16 '26
Donât pay for additional resources yet. Talk to your teachers and make sure youâre getting the most out of your official program first.
1
13
u/chikamakaleyley helpful Oct 15 '26
I feel like... you have to care a little bit, esp since after JS you're about to jump into a Python course
You haven't really told us what you're having trouble with in JS
You've mentioned this:
But that's a pretty broad and common problem people express in these subs