r/learnjavascript • • Apr 14 '26

Struggling with JavaScript – looking for advice

Hi! I’ve been studying at a technical high school for two years now, focusing on programming and artificial intelligence. This year I have a programming exam – basically we need to create a simple website using HTML and CSS and complete a few basic MySQL tasks, which honestly isn’t too difficult.

The problem is JavaScript. I’m having a hard time understanding it, and even when I asked for extra help at school, it just didn’t really click for me. That’s starting to worry me a bit.

I’ve tried building simple projects on my own, like a quiz website. HTML and even PHP aren’t a problem for me, but JavaScript is definitely more challenging.

Could you recommend any good websites or resources to learn JavaScript? I’d really appreciate it 😊

10 Upvotes

24 comments sorted by

View all comments

Show parent comment

1

u/TheZintis Apr 15 '26

You might need to get more acclimated to the syntax. JS is a little odd in that there are multiple ways of doing the same thing, or similar ways that are slightly different (like when declaring functions).

I would recommend working through a few small projects (make a button clicking game, or a todo list, etc...) first time using a guide, then repeat it by memory (light referencing) and once more strictly from memory. Just to get those reps in and more famliar with the language.

If you feel like you have a reasonable mastery of the syntax and want to learn more about how to solve programming problems, Codewars.com has been good for me. If you are in high school I would recommend doing problems at the 8 and 7 level (lower = harder). BUT after you complete a problem take some time to look at other solutions and learn from them. That's the real value there. Also don't get stuck, google things, and if something takes more than 20 minutes just copy/paste a solution OR skip to the next problem.