youre not gonna understand everything at first. it takes at least 6 months for someone to become proficient in js. probably more like a year for most people. if you stay consistent and just learn what you can as you go along then you will make progress.
i would suggest learning html and css first if you want to learn javascript. you can pick up the basics in a couple weeks, tons of good resources out there. but thats really only if you are interested in webdev. if you just want to learn programming python is a bit easier to pick up with absolutely 0 exp and you can transfer everything you learn to other languages
Wait till you get to classes, methods, closures, inheritance, data structures and algorithms.
Oh wait, then theres more!
Learn the basic core syntax first and be glad youβre not learning cpp where you beed to understand pointers and references. Although references you will still need to learn.
Again, good luck
Edit: youtube tutorials mostly suck. Try actual courses where you read. TOP (css, html, javascript) is good for webdev. But cs50 (C, python, some webdev)is better for a person who has never coded. There are other courses too like learncpp (c++), ossu,
Youtube is nuanced and free code academy is as good as it gets in most cases.
NOTHING BEATS AN ACTUAL SCHOOL, where you learn best practices and grow with other developers.
I find most self taught have horrible habits in their work that needs self correcting.
To each ones own. Also, most self taught devs are coders not true programmers. A little css, html and some boiler plate java and some neat things here and there. Most front end stuff. Certainly not full stacked and more knowledgeable about the lower level concepts and tools that has been abstracted away.
But not strong math background. Usually knows less than 3 languages, bad habits, never took discrete math, calc 1 or calc 2. This is all assuming its without a stem background of course. Its still more of a hassle to get a job, harder for employers to spot your talent.
In uni you get to take electives on cyber security, operating system, unix, network protocols, data science and much more while meeting smart people who help you grow.
Honestly you should feel inclined to rewatch it a few/many times. Nobody picks up new tech on a first pass without already having decades of experience and having struggled similarly. But it also makes for poor content to not keep subjects moving forward, even if not everyone has fully understood the material before having moved on.
57
u/thespite Jun 07 '22
You're missing a DOCTYPE declaration.
The
languageattribute is deprecated https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#deprecated_attributesdocument.writeis discouraged https://developer.mozilla.org/en-US/docs/Web/API/Document/writeAlso https://www.urbandictionary.com/define.php?term=bussy but that might not be a typo.
But yeah. Easy fr.