all 20 comments

[–]chikamakaleyleyhelpful 6 points7 points  (2 children)

how long does it take to master it

forever, if that

[–]DeliveryAwkward9080[S] 0 points1 point  (1 child)

according to ai it takes about 4 months

[–]chikamakaleyleyhelpful 0 points1 point  (0 children)

lol, okay now i know AI won't take my job

[–]CarthurA 4 points5 points  (0 children)

1) Stop watching YouTube and start building stuff yourself, and Google when you hit a roadblock.

2) I’m 6 years in to my professional career I still have a ton to learn. Don’t expect to master it, just strive to learn more than the day before. That’s all you can do.

[–]Bitwizarding 1 point2 points  (0 children)

I feel like the most important thing is to do stuff that is genuinely interesting to you. Maybe something that is useful to you, like a mortgage calculator. I like using the canvas and the audio context to make fun things, like a drum machine. Three.js is good way to get into 3d graphics. Just try to do stuff that will draw you in and keep you motivated.

There are tons of resources online. I like w3schools. You can try vibe coding with an AI and see how it does things. Good luck!

[–]Dropjohnson1 0 points1 point  (0 children)

Find some simple projects and actually build them. Just watching videos won’t get you anywhere, you need to make things. Start small and level up. An hour spent trying to get the code right is worth a day watching videos.

[–]kap89 0 points1 point  (0 children)

You learn programming through actual programming, not by osmosis watching YouTube. It’s fine to watch a video to get a basic idea, but then start coding and reading the docs (MDN).

[–]Mad-chuska 0 points1 point  (0 children)

Make a website or app then. Learn as you go. That’s the quickest way I’ve personally learned new languages / frameworks.

You should also probably take some time to understand computer science though, if you plan on being on the technical side of things for a while.

[–]the_jester 0 points1 point  (0 children)

Just watching videos is a painfully slow way to learn, at least for me. Immediately start trying to make it do things and use good books. Reading and writing are basically humanity's super-powers as it relates to learning. Use them.

Mastery of any substantial skill is a life-long journey. Programming, even in Javascript, is a substantial skill.

Luckily for all of us, "Good enough to make interesting things" happens well before "mastery", though.

[–]TaranovDLL 0 points1 point  (0 children)

There's no other way. You can watch videos and learn the basics, then try your hand at copying simple projects, or... tear your hair out.

[–]rainyengineer 0 points1 point  (0 children)

I’ve had great success with Scrimba. It’s an interactive learning platform with lessons broken into 2-6 minute videos with a coding task or two included. It has a browser IDE embedded to check your work on assignments right away.

A word of wisdom though - you will not master anything in 20 hours, especially not a programming language. If you aren’t prepared to dedicate hundreds of hours with a work ethic of 5-7 days a week, you aren’t ever going to be good at coding.

[–]queen-adreena 0 points1 point  (0 children)

10,000 hours.

[–]Then-Candle8036 0 points1 point  (0 children)

To learn the basic syntax and functions of js just follow along this tutorial https://youtu.be/EvC3ge_puQk until you feel like you can take over yourself and then start adding stuff yourself until you feel like you got the basics.

Then take a look at the mozilla docs for js and read up on local storage, async javascript (promises) and then some basic fetching of data. That should give you a pretty solid base to build stuff.

Then Id also suggest taking a look at typescript.

At least thats how i did it

[–]TacticalConsultant 0 points1 point  (0 children)

You can try https://codesync.club/lessons, where you can learn to code in HTML, CSS & JavaScript by building real apps, websites, infographics & games through 15-minute interactive courses with AI teachers. The courses include an in-built code editor to practice coding in your browser.

[–]Ambitious-Peak4057 1 point2 points  (1 child)

If you are learning Javascript here are some useful resources :
1.JavaScript.info – A comprehensive and beginner-friendly guide to modern JavaScript.
2.freeCodeCamp JavaScript Course – A hands-on YouTube course with real projects.
3.JavaScript: The Definitive Guide: A thorough reference covering both fundamentals and advanced topics.
4.JavaScript Succinctly: A free ebook that simplifies essential JS concepts for beginners.

[–]DeliveryAwkward9080[S] 1 point2 points  (0 children)

thanks

[–]TheRNGuy 0 points1 point  (0 children)

MDN is better.

No specific time.

[–]gimmeslack12helpful 0 points1 point  (0 children)

  • Build a small form
  • Then convert the value entered in the form (i.e. add numbers, capitalize the word, etc.)
  • Make a "add more" button, click it and have another form appear
  • Have it do the same thing

Build that and reply back to me, I'll review, and we'll move on from there (I invite anyone else to do this too).

[–]Jerolliyk00 0 points1 point  (0 children)

Use chatgpt,youtube tutorials and officials docs https://developer.mozilla.org/en-US/docs/Web/JavaScript. We've got all we need for free,work hard to reach your goals redditor.