Get the Cheat Sheet Here : http://goo.gl/TxNsQO
Best Book on JavaScript : http://amzn.to/1WbMYvm
Support Me on Patreon : https://www.patreon.com/derekbanas
00:22 Introduction
03:27 Variables
04:27 Math
12:00 Random Numbers
13:21 Strings
17:24 Styling Strings
18:14 If
21:44 Switch
23:04 Ternary Operator
23:55 While
24:51 Do While
25:52 For
27:37 For In
28:39 Arrays
34:42 Functions
36:41 Pass Function as Parameter
39:42 Receive Variable Number of Arguments
40:55 Return Variable Number of Arguments
42:02 Recursive Functions
43:54 Event Handling
46:24 Mouse Events
51:30 Key Events
54:02 Change Tag Value
56:41 Change Class
58:02 Change Input Element
59:20 Mouse X / Y Coordinates
1:01:42 Get Elements by Tag Name
1:03:00 Element Styling
1:05:48 Manipulating URLs
1:09:37 Editing Child Nodes
1:15:08 Setting Attributes
1:18:11 Adding Elements
1:19:50 OO JavaScript
1:28:33 Form Validation
1:34:54 Exception Handling
Original source
36 responses to “JavaScript Tutorial”
I am a blogger myself, I learned many things apart from Javascript from this video. Great work!!
Is there any chance that you will make a updated js video?
At 1:24:00 the Function "getInfo()" use cust1(Global var), instead of cust (parameter). That's wrong because the fuction is using the global variable, and not the local one.
Hi Derek, I wanna thank you for this kind of content. As a computer science student, most of the time I dont have patience to see 30 min lectures just about basic of a language (loops, variables, functions, syntax). I really want just to see rapidly the main stuff and develop rest of it by myself. Your videos are perfects to me, thank you.
How can i activate the syntax helper??
hekpfull for a crash course!
My brain has melted but I'm now much more knowledgable about JS. Worth every second many times over!
I'd really appreciate if anyone could explain this? In the first example of if else, I copied the exact same thing and even if I did not enter a name, it displays 'Hello' i.e if statement rather than the else statement. Why is this happening?
These are great, you gotta do this for all languages man.
Excellent Video as always Derek. I've finished your HTML, CSS, and now JavaScript videos. Any recommendations on other videos that would help me solidify my learning in these 3 subjects? Thank you sir
at 9:21 how it's not 6 instead of 5?
randNum++ from 5 suppose to be 6
how it possible?
thank you!
Hey Derek can you create an "O Notation" tutorial? And make very simple to understand. Can find a good tutorial.
Good Job!! Derek you provided a more complete Core JS tutorial.
in starting alert("Enter name next tym") this condition not working when user not enter any name why?
Hey can someone help me out with my website please? I have this music player that I purchased. It has a feature where you press a button and it turns into a smaller player, perfect for mobile devices. Is there a way that I can code the player so that when a person is using a phone, it automatically initialises the smaller player for them? If it's too difficult to explain in the comments, just let me know and maybe i'll just hit you up with an email! I'd be willing to pay if it's complex. Thanks!
one thing that I have a little bit hard time gasping is what is the difference between an object {} and and array [], is it just the length?
for the first prompt name function that you created, how do you get it to prompt a name only on one page of the website?
Good refresher!!
It is a perfect Tutorial, Thanks.
For some reason my background color is not changing for the code in 1:10:34.
You are a miracle genius. I watched this entire video and I learned so much. Keep up the good work. Excellent tutorial.
why is the childNode at 1:12:30 a [0] followed by a [1]? How do you tell the difference? I thought computers recognised 0 as the first number, not 1 ?!
Is the childNodes at 1:10:15 purposefully [1] instead of [0] because the [0] childNode is actually the <!DOCTYPE html> ????
Why do you put space between <br and /> (e.g. <br />) when you don't need it?
This is not good for beginners. At all.
But still a great tutorial.
I feel like I should first learn all the jargon and the very basic stuff before I even watch this 😀
which is the best editor for js, plz reply?
Great video. If you want to expand your knowledge on JavaScript or any other language by solving real world problems and problems that are presented in High Schools and Universities, you can checkout my channel for more!
Ok on the 49th minute, for the type input, why havent you closed the input bracket and how is it not showing an error for the same?
Great video. Thanks. A lot of what you do I do with jQuery. Should I stick with jQuery or learn the methods you show?
at 9:30 you say it incfements by one right? so why does ++random = 7? Doesn't it equal 6?
I hope YouTube is paying you a fortune. Your Python tutorial series is easily the best of the best on YouTube.
1:26:00 Weird how to define a class you write `function`
If I could give this a million likes I would give it one million likes
I like your Chanel and work man.Keep it up!!!
That cheat sheet is pure geek porn.
I'm loving it.