JavaScript DOM Crash Course - Part 3

  Рет қаралды 307,774

Traversy Media

Traversy Media

6 жыл бұрын

In this lesson in the JavaScript DOM, we will be looking at different events and how to attach them to DOM elements with addEventListener();
CODE: Code for this video
www.traversymedia.com/download...
BECOME A PATRON: Show support & get perks!
/ traversymedia
ONE TIME DONATIONS:
www.paypal.me/traversymedia
COURSES & MORE INFO:
www.traversymedia.com
FOLLOW TRAVERSY MEDIA:
/ traversymedia
/ traversymedia
/ traversymedia
NEW DISCORD CHAT SERVER:
/ discord

Пікірлер: 255
@eS_Zett
@eS_Zett 6 жыл бұрын
00:11 Introduction 00:45 Event Listener Introduction 02:46 .addEventListener() with Click Event 04:59 Event Parameter 05:47 e.target 08:43 e.type 09:10 e.clientX 09:40 e.clientY 10:01 e.offsetX 10:29 e.offsetY 10:54 e.altKey, ctrlKey & shiftKey 12:26 Mouse Events 14:18 dblclick 14:38 mousedown 15:00 mouseup 15:17 mouseenter 17:03 mouseleave 17:19 mouseover & mouseout 19:15 mousemove 23:05 Keyboard & Input Events 24:17 keydown 26:11 keyup 26:34 keypress 26:50 focus & blur 27:34 cut 28:41 paste 28:50 input 29:23 change 31:50 submit
@tunamusic2314
@tunamusic2314 3 жыл бұрын
thanks bro for assuming
@OG_CK2018
@OG_CK2018 3 жыл бұрын
Thanks
@OG_CK2018
@OG_CK2018 3 жыл бұрын
Binod
@OG_CK2018
@OG_CK2018 3 жыл бұрын
Binod
@MrTaekbeen
@MrTaekbeen 3 жыл бұрын
lovely!
@seanlangley7467
@seanlangley7467 6 жыл бұрын
Thank you, I do not have money for the study, and your channel is a pearl in this sea with the name of KZbin. Thank you so much, Brad! God bless you! Guys, switch off AdBlock at this channel, please ;)
@anjalijain2364
@anjalijain2364 6 жыл бұрын
Agree!
@TKomoski
@TKomoski 5 жыл бұрын
@@anjalijain2364 && Totally
@akshatsethi6384
@akshatsethi6384 4 жыл бұрын
Did you get a job yet?
@mohdyusufkhan8214
@mohdyusufkhan8214 3 жыл бұрын
@@akshatsethi6384 asking the real questions...
@raidoung4100
@raidoung4100 3 жыл бұрын
lol didnt know there were ads on youtube:P good you said ;d
@aranguren12
@aranguren12 4 жыл бұрын
Brad, you are an incredible person for doing this. I´m currently taking a part-time, semi-remote career on web dev and your courses are helping me compliment a LOT of things that are sometimes left half way. Keep on doing this man, you seriously rock.
@jojepacana816
@jojepacana816 4 жыл бұрын
your such an amazing teacher, i love the way you explain, now i can develop by referencing your tutorials and i hope you don't get bored of doing like this just to help us beginners. thanks a lot, god bless
@Wind_Lamp
@Wind_Lamp 4 жыл бұрын
I bought few courses from udemy to learn DOM , but no one has such explanation and teaching ability, finally I found this course on KZbin, thank you very much Sir to share your knowledge , you are great teacher too .
@sarvinismayilov
@sarvinismayilov 4 жыл бұрын
Brad! Thank you for all your great work in this channel! As a starter on this field i find it all well structured to get to the point!
@soultouchingsongs
@soultouchingsongs 6 жыл бұрын
Excellent tutorial on DOM with easy explanation.. You are the best teacher. Thank you.
@steveburrus9347
@steveburrus9347 5 жыл бұрын
Not the b est teacher at all. U know of Derek Banas?
@aadiyogini
@aadiyogini 5 жыл бұрын
@@steveburrus9347 Yes Derek Banas is good but his videos are not like for beginners means he too fast that if anyone is new to programming then he/she won't to be able to grasp that much quickly or won't be able to understand any logic .... Derek banas covers everything but to get started u should watch videos like of Brad Traversy or someone who gives somewhat detailed explanation at the beginning after that anyone should move on to cover nearly all topics from Derek banas bcoz then anyone would be able to make sense out of Derek's videos ........if someone covered ur 20% concepts with understanding n patience initially then with Derek banas videos left 80% concepts can be covered smoothly without getting stuck or confused........otherwise even though his video time length is small still it's gonna take huge time n its gonna waste time.......And yes Brad Traversy is really the best teacher.
@deskyee
@deskyee 3 жыл бұрын
@@steveburrus9347 nope he's not
@rs.wright
@rs.wright Жыл бұрын
Can't express how helpful this series is... Every major tutorial site/channel that teaches JS focuses primarily on the JS algorithms, but teaches nothing about how to actually use it to alter the DOM. Also appreciate the concise yet thorough explanations, there is a lot of info packed in this half hour.
@divyasampath9500
@divyasampath9500 5 жыл бұрын
Event Listener was quite a deal for me before, this vdo was all that I needed!
@ironheadmedia1625
@ironheadmedia1625 3 жыл бұрын
One of the best tutorial video I have ever watched. If you have not watched yet and intend to watch, don't waste any second by waiting
@bipuljha792
@bipuljha792 Жыл бұрын
I've been following you for a while now and I've just noticed that you've reached 2 million followers. Congratulations Brad, you totally deserve this and much more. Cheers!!🍺🍺
@weightlossmotivation7917
@weightlossmotivation7917 4 жыл бұрын
Thank you so much for this 4 part tutorial it's cleared up so much for me in regards to DOM manipulation with native javascript!
@RedEyedJedi
@RedEyedJedi 4 жыл бұрын
For anyone who hasn't heard of emmet or used emmet, I highly recommend learning about it. It's really not hard and it speeds up writing html a lot. I have banned myself from typing html now, and only type emmet and by doing that, I have managed to pick it up really quickly. Thanks for another brilliant video Brad, you're an awesome teacher.
@businessyoungsters5503
@businessyoungsters5503 5 жыл бұрын
dude your tutorials are gem. They Provide A Lot Of Value. Thanks A Lot
@Haidderispro
@Haidderispro Жыл бұрын
This is the most straightforward dom and JavaScript video I have seen. Thank you
@Brandon-yy8ey
@Brandon-yy8ey 3 жыл бұрын
This tutorial connected many dots for me. I have been struggling with making burger menus work, but your addEventListener examples have really helped me with this. I created another event function so that "Hello" in the box div would turn on & off with mouseover & mouseout, and the light bulb went off in my head. Thank you, sir!
@AngaarUriakhil
@AngaarUriakhil 2 жыл бұрын
Thanks a bunch. Had no clue about DOM before I started this course. Free too. What a time to be alive.
@Aimopotis
@Aimopotis 6 жыл бұрын
This is fantastic for me as a new Developer
@proobld
@proobld 5 жыл бұрын
The best explanation that i have seen for DOM, thank you.
@jvjplus
@jvjplus 4 жыл бұрын
Changing background based on position was awesome!! 😊
@bitflipped5337
@bitflipped5337 2 жыл бұрын
I've been learning c and c++ for a year and tried to migrate here, and these are new to me. Thanks for the tutorial
@katrinalena648
@katrinalena648 5 жыл бұрын
Great, great thanks, wonderful passionate teacher. Hope to learn online and offline with you soon!
@satvik1489
@satvik1489 3 жыл бұрын
These 4 videos on DOM and its manipulation are very important. Many talented developers were not able to explain this topic while teaching JavaScript but Traversy Media did it very nicely. Thanks a lot 🙌
@amnashahzadi7608
@amnashahzadi7608 9 ай бұрын
What is e in the "onclick" function
@gilgene5803
@gilgene5803 5 жыл бұрын
This is really a really great crash course I understand now how to operate better with the DOM events.
@flamyngoo
@flamyngoo 3 жыл бұрын
This is very helpful! I did not get bored and the funny things actually made me focus more and learn them easily 🥰
@ga7853
@ga7853 6 жыл бұрын
Thank you so much for doing this, your efforts are greatly appreciated, and hopefully, soon I will be able to show my appreciation the right way.
@KerimKaraman28
@KerimKaraman28 2 жыл бұрын
Man it's still quite good and understandable in 2021 ! Thanks for the video.
@swethaaaa
@swethaaaa 5 жыл бұрын
Love your teaching. It helps me a lot Thanks a ton
@kunalpandey7189
@kunalpandey7189 4 жыл бұрын
thank you, your videos are so much helping me you can't even imagine.very well explained.
@Spoopers
@Spoopers 2 жыл бұрын
I'm in a JS class at school that I paid way too much money for and I just learned more from two hours of your videos than I have in 4 weeks of that class.
@mz3993
@mz3993 3 жыл бұрын
Thank you Brad for another awesome video!
@eniolabakare5100
@eniolabakare5100 Жыл бұрын
Still holds good today, thank you Brad!
@ashenafiteesema9836
@ashenafiteesema9836 3 жыл бұрын
I would like to thank you very much, i have no idea, you are the best of the best teacher, really I haven't any experience of javascript but when I saw your crash course, I have got a lot of knowledge.
@vincent3542
@vincent3542 2 жыл бұрын
up to now, you still the inspirations 😭
@baciukrystyan6479
@baciukrystyan6479 6 жыл бұрын
You are a great teacher. Thank you for all videos.
@ChrisTian-ox5nr
@ChrisTian-ox5nr 2 жыл бұрын
I appriciate yor hard work Traversy Thank you! So far really enjoying this crash course!
@suhedaerturk215
@suhedaerturk215 4 жыл бұрын
Thank you for the clear explanations! You are the best teacher!!!
@mervenwedaye5943
@mervenwedaye5943 2 жыл бұрын
Thanks Brad for this good job, your explanation is very clear and I understand better alla javascript DOM items
@SheriffKoder9
@SheriffKoder9 Жыл бұрын
I learnt alot of new dom methods and ideas of how to use them from these video series Thank you,
@samialvi4226
@samialvi4226 Жыл бұрын
Now it feels like i have power to manipulate the dom then ever Thanks Brad You have my undying gratitude and respect !
@javohirmurodov4670
@javohirmurodov4670 Жыл бұрын
I have learnt a lot watching your videos , thank you!
@pascholatti
@pascholatti 4 жыл бұрын
great video, helped me a lot on a assignment project I have now!
@IshanKesharwani
@IshanKesharwani 4 жыл бұрын
Nice video Guru. Loved it !!!!!
@congxiao1989
@congxiao1989 4 жыл бұрын
thanks to you I gained so much knowledge on DOM and VJS
@ogbuleo2048
@ogbuleo2048 3 ай бұрын
Thanks for the knowledge you planted into me through this crash course
@kramyshan8121
@kramyshan8121 2 жыл бұрын
Good work indeed, this video has great value! Thank you and keep it up.
@singaporestreettravel
@singaporestreettravel 6 жыл бұрын
what a fantastic video once again, thanks for sharing no doubt You are a great teacher.
@nikhilevin
@nikhilevin 6 жыл бұрын
Thanks for your dedicated and Passionate service!
@Aserve1st
@Aserve1st 4 жыл бұрын
Thank you for an amazing lesson. Going on to the last part. =)
@tomtom5981
@tomtom5981 5 жыл бұрын
This dude is a natural; thanks, friend...
@marcelosoares3428
@marcelosoares3428 4 жыл бұрын
you are the best! Greetings from Brazil
@imranshaikh115
@imranshaikh115 4 жыл бұрын
Really very impressive. keep doing this kind of job
@b.naveenkumar7662
@b.naveenkumar7662 3 жыл бұрын
Your brilliant man I love your teaching and knowledge
@ariesvelasquez1548
@ariesvelasquez1548 6 жыл бұрын
This should be the style or method of teaching my university do! Thanks Brad!
@zaireeutar130
@zaireeutar130 5 жыл бұрын
true af
@ygcjayalal
@ygcjayalal 3 жыл бұрын
awesome lecture forever. Very good, easily understandable a great lessons. thank you so much
@rajdhanush6775
@rajdhanush6775 3 жыл бұрын
best tutor ever seen ... already i bought ur html css udemy course ...
@user-nc4gs9lz9d
@user-nc4gs9lz9d 3 жыл бұрын
Very good! I even switched off AdBlock to watch advertising to help this channel )
@wiskassaquetas123
@wiskassaquetas123 4 жыл бұрын
Thank you for this video, it's really really useful!
@MrRoubleh
@MrRoubleh 3 жыл бұрын
thank you so much. You made javaScript look easy
@kennstack01
@kennstack01 3 жыл бұрын
Actually, THIS IS one of my Favorite MENTORS in #Coding ! He has an art_of_Teaching!
@muhammadabubakarmunir8874
@muhammadabubakarmunir8874 5 жыл бұрын
Excellent lectures related DOM
@cryptocoinkiwi8272
@cryptocoinkiwi8272 4 жыл бұрын
This was an excellent tutorial cheers!
@kasimhasan7623
@kasimhasan7623 2 жыл бұрын
Thank you, Brad. It helped a lot.
@ABHISHEKKUMAR-gp8ls
@ABHISHEKKUMAR-gp8ls 4 жыл бұрын
very good tutorial for me. Great job BRAD...
@mtshgaming292
@mtshgaming292 4 жыл бұрын
thank u. u solved my problem in one minute . love u
@anag2125
@anag2125 4 жыл бұрын
Hi! First of all thank u very much for all the tutos!! I'm even planning to continue with all the Javascript tutorials from your channel :D But this time was thinking on making a suggestion, for other vids, to maybe not give so many examples of things (events in this case) that we may never use and show the ones that we will use for sure instead.. Just a suggestion! Thank u anyways!! Your tutos are helping me a lot and I'm sharing them on Twitter as I watch them! :D
@tibebetech4867
@tibebetech4867 3 ай бұрын
Excellent job!
@nguyenluongtrungk17dn71
@nguyenluongtrungk17dn71 Жыл бұрын
it is really helpful, thank you so much
@sarahghanei1997
@sarahghanei1997 2 жыл бұрын
Thank u, it was very useful.
@bamelive
@bamelive 6 жыл бұрын
That event parameter at 5:04 helps to understand how the "(req, res)" works on node.js.
@user-qq6qn6gd9b
@user-qq6qn6gd9b 4 жыл бұрын
You are so dmn good lecture ever. Thanks you
@Artificial_Intelligence_AI
@Artificial_Intelligence_AI 4 жыл бұрын
28:20, you just showed me a new way of trolling my friends lol. hey buddy, you messed up the entire site and my computer lol
@honglinhnguyen96
@honglinhnguyen96 3 жыл бұрын
Thanks so much, amazinggg tutoriall
@limitless0032
@limitless0032 3 жыл бұрын
Thanks , you are a blessing!
@adrianoldchannel2494
@adrianoldchannel2494 6 жыл бұрын
Hey Brad great video I was playing around and found if you do Ctrl C it also copy too. Lol. I kinda starting to love JavaScript now.
@nightcode.
@nightcode. 3 жыл бұрын
Great
@robelseyoum1583
@robelseyoum1583 5 жыл бұрын
Brad you are amazing thanks a lot love love
@Shivsankar-lf8xk
@Shivsankar-lf8xk 5 жыл бұрын
it is really really just awesome!
@sessonid5082
@sessonid5082 6 жыл бұрын
Information overload so many ideas for thangs I can build my boy
@bogdanmazur3256
@bogdanmazur3256 2 жыл бұрын
That moment when everthing "just freaking disappeared" really made me laugh for some reason). Thanx for great explanatioins, man
@MuhammadSaeed-lq4ru
@MuhammadSaeed-lq4ru 2 жыл бұрын
Amazing Tutorial :)
@Knowledgeduniya1432
@Knowledgeduniya1432 7 ай бұрын
Thankyou brad sir God bless you ❤️🙏🏻👑
@tariqabdulghani5337
@tariqabdulghani5337 4 жыл бұрын
Great explanation
@nightcode.
@nightcode. 3 жыл бұрын
Thanks you so much sir❤️
@generalzeedot
@generalzeedot 5 жыл бұрын
this should be the most watched video on youtube
@Cho1279624
@Cho1279624 6 жыл бұрын
Keep it up!!! Thanks a lot!
@marciofernandes8454
@marciofernandes8454 4 жыл бұрын
@TraversyMedia, thanks for the videos. Is there any EventListener equivalent to jQuery slide. I havent found anything similar. Thanks for the help
@svilen001
@svilen001 3 жыл бұрын
well put together, easy to grasp. we need more funny moments like RGB background color in these boring youtube tutorials
@manoranjandash5424
@manoranjandash5424 6 жыл бұрын
Greate one Sir..!!
@ckhinsight
@ckhinsight 6 жыл бұрын
Hello, another nice tutorial on event handling for JS newcomers. Suggestion: You should use "keyup" instead of "keydown" for updating the innerHTML (since the last alphabet is not inserted in the updated text)
@Aurora-ku4xr
@Aurora-ku4xr 4 жыл бұрын
Hi, Khai, your suggestion is very much appreciated!!
@abhisheksunam4869
@abhisheksunam4869 3 жыл бұрын
Lockdown Diaries Thank you Brad !
@AmilcarPino
@AmilcarPino 5 жыл бұрын
Thanks for taking the time to do the JavaScript DOM Crash Course simple and useful. Definitely the best of all without a doubt. You are helping a lot of people to achieve their goals. 👍
@herbertk9266
@herbertk9266 6 жыл бұрын
Thks for sharing brad
@taimoor722
@taimoor722 5 жыл бұрын
You are making me to get your course
@tacva2607
@tacva2607 3 жыл бұрын
Excellent
@misharial-essa7407
@misharial-essa7407 4 жыл бұрын
Quick question: at 25:54 the letters (key strokes) don't appear immediately. You need to press another key for the previous key stroke to appear in the "output". It looks like the "output" is executed before the "innerHTML". Can you please explain why? or maybe suggest a video that would explain this (in case it requires long elaboration). Thanks a lot and Kudos for the great content!!
@mohammadnaim9226
@mohammadnaim9226 2 жыл бұрын
great tutorial...ever
@sisamkosu2718
@sisamkosu2718 2 жыл бұрын
you are the best man
@ademineshat
@ademineshat 4 жыл бұрын
Wao that's the best example for JavaScript "cut the window". Ahhahahhabahahaha. You are the best Brad. Thank you very much
@sofiapagura1093
@sofiapagura1093 2 жыл бұрын
muy buen contenido!
@k14pc
@k14pc 5 жыл бұрын
thanks, very helpful!!
@TraversyMedia
@TraversyMedia 5 жыл бұрын
You're welcome. Glad to help
JavaScript DOM Crash Course - Part 4 [Final Project]
22:08
Traversy Media
Рет қаралды 281 М.
JavaScript Higher Order Functions & Arrays
34:56
Traversy Media
Рет қаралды 977 М.
100❤️ #shorts #construction #mizumayuuki
00:18
MY💝No War🤝
Рет қаралды 20 МЛН
Ну Лилит))) прода в онк: завидные котики
00:51
Learn JavaScript Event Listeners In 18 Minutes
18:03
Web Dev Simplified
Рет қаралды 565 М.
Are You Too Dumb To Code? A Chat About Imposter Syndrome
7:08
Traversy Media
Рет қаралды 64 М.
Learn DOM Manipulation In 18 Minutes
18:37
Web Dev Simplified
Рет қаралды 1 МЛН
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 378 М.
JSON Crash Course
24:49
Traversy Media
Рет қаралды 1 МЛН
The Importance of Specialization in Coding
7:13
Traversy Media
Рет қаралды 162 М.
Async JS Crash Course - Callbacks, Promises, Async Await
24:31
Traversy Media
Рет қаралды 1,4 МЛН
15 Web Developer-Related Career Paths
25:19
Traversy Media
Рет қаралды 123 М.
5 Must Know JavaScript Features That Almost Nobody Knows
18:06
Web Dev Simplified
Рет қаралды 472 М.
wyłącznik
0:50
Panele Fotowoltaiczne
Рет қаралды 24 МЛН
i love you subscriber ♥️ #iphone #iphonefold #shortvideo
0:14
Дени против умной колонки😁
0:40
Deni & Mani
Рет қаралды 10 МЛН
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 997 М.
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 2,3 МЛН