JavaScript Crash Course For Beginners

Traversy Media · 4.7M views · 2019 · 1:40:30

Open on YouTube

Web developmentPython, Ruby & scripting languagesEducation & learningtutorial

Why Stack Overflow recommends it

Stack Overflow users link it as a beginner starting point for learning JavaScript, and many askers mention they are following along and got stuck at a specific timestamp.

Recommended by 1 people across 1 different months, 2019 to 2022.

What it is

A 100-minute beginner JavaScript crash course from Traversy Media covering language fundamentals along with modern syntax such as classes and arrow functions. It is a follow-along tutorial with an HTML/CSS starter plunk and is presented as the start of the channel's JS learning path.

What people said

Recommends Valchy · 2019-04 · Stack Overflow · on “is it possible add customized functionalities to website?”

Yes, javascript knowledge is definitely required in order to do what you are willing to do in my opinion. Since you have knowledge with other programming languages you should be able to understand and learn it easier. I would recommend whatching this video: [this video]

Cites Binh Pham · 2019-05 · Stack Overflow · on “How do I get Visual Studio Code (VS Code) to show method preview of objects?”

I've been following Traversy Media JavaScript crash course. I noticed that I couldn't get Visual Studio Code to show the methods of objects like he did. I searched and it said IntelliSense should automatically be turned on but it's not working for me. Any help? [this video] [LINK]

Cites Erikamyself · 2020-08 · Stack Overflow · on “`new Date('5-6-1990')` produces incorrect result”

I just started learning Javascript and currently, I am following the Javascript Crash course for Beginners by Traversy Media on Youtube. ( [this video] - I am at 1:02:00) I am following his example with Constructor Function, but I get a different result on the console from the one he gets and (probably because I am just a beginner) I don't understand why. The code is: function Person(firstName, surname, dob) { this.firsName = firstName; this.surname = surname; this.dob = new Date(dob); }; const person1 = new Person('Mike', 'Smith', '5-6-1990'); const person2 = new Person('Lisa', 'Gregory', '3-6-1970'); console.log(person2.dob); now, why do I get Invalid Date while he gets Fri Mar 06 1970 00:00:00

Cites UPYoda · 2021-05 · Stack Overflow · on “Chrome not showing console log messages with example html doc and separate js file”

I was just following this [this video] guide for a crash course in JS as I am going to be dealing with it in building a small website. I got to around 9:40 in the video with everything working up until this point (My sample html index page, the example JS code inline with the html, etc..). However, at this point I noticed, that when I moved all JS code to the main.js file and attempted to call it with the src in my html page I received no messages from chrome's (90.0.4430.212 (Official Build) (64-bit) (cohort: Stable)) developer tools. I can trigger error, info or warning messages from within chrome's console by typing them out there, and I can make them happen by having them inline in the HTML.

Cites David Habeeb · 2022-12 · Stack Overflow · on “what is mean by arr[i] in javaScript?”

No. You got the understanding wrong Bro. These little lines of code first separate each word of the sentence, then convert every first letter of the word into an uppercase, and lastly merge them together. The output ends up to be: I Have Learned Something New Today. const arr = str.split(" "); for (var i = 0; i < arr.length; i++) {//other codes} The code above result to: arr = ['i', 'have', 'learned', 'something', 'new', 'today']; The i is the counter (0, 1, 2, 3,..., 6 ). arr[i] fetches any of the index i in the array. meaning If i = 1 , then arr[1] is have and new when arr[4] . W3school JavaScript [LINK] JavaScript Info [LINK] Tutorial [this video]