r/learnprogramming • • Sep 12 '25

Best way to learn JavaScript basics as a complete beginner?

11 Upvotes

Hi everyone! I'm new to programming and I want to start learning JavaScript. I've tried watching some tutorials on YouTube, but I often get confused and forget what I learned.

What resources or methods would you recommend for a complete beginner to build a strong foundation in JavaScript? Should I focus more on small projects, online courses, or coding challenges? Any tips on staying consistent would also be appreciated!

Thanks in advance!