JavaScript DOM Crash Course - Part 2

  Рет қаралды 381,989

Traversy Media

Traversy Media

Күн бұрын

Пікірлер: 286
@letmewatch.
@letmewatch. Жыл бұрын
14:54 thank you for not editing that out. Had a laugh and it boosted my spirit
@romeojoseph766
@romeojoseph766 2 жыл бұрын
I am Romeo , I am a self taught for now and I'm about 16 years old I have been learning front-end development since one and half years . fan of your work!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@eS_Zett
@eS_Zett 7 жыл бұрын
00:23 Traversing the DOM Introduction 01:18 Parents 01:18 .parentNode 04:03 .parentElement 04:48 Children 04:48 .childNodes 06:36 .children 08:03 .firstChild 08:58 .firstElementChild 09:38 .lastChild & .lastElementChild 10:37 Siblings 10:37 .nextSibling 11:17 .nextElementSibling 12:04 .previousSibling 12:31 .previousElementSibling 14:12 Create Elements 14:30 .createElement() 16:50 .createTextNode() 17:27 .appendChild() 17:59 Insert Created Elements Into the DOM 18:12 .insertBefore()
@NairiAreg
@NairiAreg 6 жыл бұрын
parent children sibling...is this a porn?
@rene78
@rene78 6 жыл бұрын
@@NairiAreg Partly yes. He has forgotten one: 14:48 create new dick
@amongdoomers9464
@amongdoomers9464 4 жыл бұрын
@@rene78 lmaoo🤣🤣
@tunamusic2314
@tunamusic2314 4 жыл бұрын
thanks so much
@thearbitarygeek2463
@thearbitarygeek2463 4 жыл бұрын
thanks bruhh
@LukasShannon
@LukasShannon 7 жыл бұрын
I've been following you for just a few weeks but your content is incredible! It's thorough while being accessible enough for me to start using right away. Very practical explanations, a great voice for the narrations, and a wide range of content covering all of the tools I need! Thanks a lot!
@TraversyMedia
@TraversyMedia 7 жыл бұрын
Thanks man, I appreciate that
@LukasShannon
@LukasShannon 7 жыл бұрын
Pleasure :)
@mylesdavies9476
@mylesdavies9476 6 жыл бұрын
Was about to write an almost identical comment, absolutely love this channel, thank you so much for creating these videos, they are taking my coding abilities to new levels :)
@muhammadtariq_
@muhammadtariq_ Жыл бұрын
how you guys doing? its been 5 years any progress?
@casedup
@casedup 3 жыл бұрын
Duuuuude! Thanks for not editing that out. Good humor and learning just makes sense.
@kristinaivanova4170
@kristinaivanova4170 4 жыл бұрын
I just love this guy...I was at the edge of giving up coding and decided no to by watching Brad's tutorials cause they are somehow giving me hope and his voice is my light lol
@widespectrumcreators4691
@widespectrumcreators4691 2 жыл бұрын
Me too! 🥰🤩🙂👍🏼👍🏼
@whatsup1670
@whatsup1670 2 жыл бұрын
Как идут дела?
@bricerichard6305
@bricerichard6305 Жыл бұрын
have you got a job already?
@AzTreandwealth
@AzTreandwealth 7 жыл бұрын
I just want to say a MASSIVE thank you! I have been waiting for someone to create a video tutorial, specifically to do with Javascript and the DOM, and this is a simple yet outstanding one. I love these videos man. I just completed codeacademy a few times but was still a little lost in terms of how to put JS together as a web developer. This stuff has been a great help so far. I have been practicing in the console as you have been explaining and my understanding of JS and the DOM is definately expanding very quickly, and I am starting to connect the puzzle of JS a lot more. Excellent teaching style as well. Once again, many thanks!!
@iansanders6466
@iansanders6466 5 жыл бұрын
Just recently discovered your channel. This has to be the most concise series on DOM manipulation I have ever seen. Thank you so much for uploading these
@aaryanbudhirajamusic6874
@aaryanbudhirajamusic6874 6 жыл бұрын
They can show as many ads they want whether it's in the starting of the video, in between or anywhere, I can watch all of them to learn from you. You make a difference bro. I'm in college rn, but when i start earning, you can expect a really big donation. Cheers!
@Peywan
@Peywan 5 ай бұрын
youre so amazing brad, your tutorials ins the only ones i need for javascript. you're literally the best teacher that i didn't have!!
@nishanthsubramanya1931
@nishanthsubramanya1931 7 жыл бұрын
I disable my adblock when I get into Traversy Media!!! You are just awesome.
@TraversyMedia
@TraversyMedia 7 жыл бұрын
I REALLY appreciate that. Adblock is a killer for us small content creators. Many people do not care, thank you
@essanhaji
@essanhaji 4 жыл бұрын
oh shiit mine is still on , thanks for reminding me to add the channel to my allow ads list on my addblocker
@mofe620
@mofe620 3 жыл бұрын
@@TraversyMedia Hardly a small content creator now though 😊 Well done.
@cryptouniversity4109
@cryptouniversity4109 5 ай бұрын
​@@TraversyMedia you big now sir
@erenkucuker-dev
@erenkucuker-dev 5 жыл бұрын
This video series really helpful. I had been working 2 weeks with javascript tutorials but you need to got these fundamentals rather than operands or something else. Thanks, brad.
@ahmedsandoqah9720
@ahmedsandoqah9720 3 жыл бұрын
We're now in 2021, can you see this kind of courses implement for fronend beginner ?
@mudassirjabbar4
@mudassirjabbar4 3 жыл бұрын
I don't know if it has to be linked or not with my previous basic knowledge of js from random platforms, but as a code newbie i would like to testify that this is the best and amazing explanation of basic Javascript...
@xhappybunnyx
@xhappybunnyx 11 ай бұрын
For anyone who doesn't know (I'm sure traversy's using it nowadays), pressing ctrl-D after youve highlighted text will also select the next instance of that text it finds, so you can do edits like at 4:19 much faster
@rorjackson
@rorjackson 4 жыл бұрын
I would disable my ad blocker to support you as much as i can, I love your content and method of teaching, You are awesome, I hope one day I shall create something awesome and that credit will certainly go to you. Javascript was a nightmare for me as I am learning from videos only. You have made javascript so easy and fun, thank you again. Keep making more videos kindly.
@lynguist
@lynguist 5 жыл бұрын
traversing the dom - with traversy the don ;) thank you so much brad!
@TheGerm24
@TheGerm24 7 жыл бұрын
"Should I edit that out..." I like your casual style. Its funny and engaging.
@NoahNobody
@NoahNobody 7 жыл бұрын
Nice dic joke. I'm glad you didn't edit it out.
@ademmohammed3939
@ademmohammed3939 4 жыл бұрын
LMAO 😂😂😂
@siwilson1437
@siwilson1437 4 жыл бұрын
Laughed for ages at that, caught me right off guard :D
@OG_CK2018
@OG_CK2018 4 жыл бұрын
I am so useless that i did not even get the newDic() joke...will someone pls explain D:
@noyoudidnot3513
@noyoudidnot3513 4 жыл бұрын
@@OG_CK2018 D:
@asmamanzoor7341
@asmamanzoor7341 4 жыл бұрын
Thank you for this great tutorial series on DOM. I have bought your udemy javascript course and intends to buy more courses after completion. Thanks a lot for the lovely courses and tutorials.
@christophercarr5865
@christophercarr5865 6 жыл бұрын
Super helpful -- this has been a much-needed supplement to the DOM section in the Udacity Front-End Nanodegree I'm working on (not their strongest section). Now I'm looking for a higher-level walk-through of the DOM's structure and function.
@joshchinwendu
@joshchinwendu 5 жыл бұрын
I don't understand while people will still dislike such a nice video
@alexlun4464
@alexlun4464 4 жыл бұрын
Dude I swear your crash course on DOM is one of the cleanest tutorials out there. Nobody, and i mean this after using multiple resources for different topics, can explain things the way you do. I'm really having fun watching your crash course. Sorry I'm poor man can't help you on patreon.
@yatheeshgowda6191
@yatheeshgowda6191 Жыл бұрын
I seriously love the way you explain stuff but the moment I become more conscious was from 14:48
@dorsolomon7251
@dorsolomon7251 7 жыл бұрын
In the element insertBefore method, you can also use the "firstChild, lastChild" methods ... Great serise !!
@autumnaurora8299
@autumnaurora8299 5 жыл бұрын
"Neither one of them are inside of each other so they're siblings" Alabama : hold my beer
@OG_CK2018
@OG_CK2018 4 жыл бұрын
??
@saltysexyyy6336
@saltysexyyy6336 4 жыл бұрын
@@OG_CK2018 SWEET HOME ALABAMA INTENSIFIES
@RozArialind
@RozArialind 3 жыл бұрын
tbf child elements are inside their parent elements so...
@MuhammadjavohirSuratov
@MuhammadjavohirSuratov 7 жыл бұрын
Great videos, Brad. Keep it up! You are creating tons of videos lately :) Make sure to have a rest time-to-time :)
@raymondorenda7385
@raymondorenda7385 2 жыл бұрын
Great Stuff. React.js journey started this way. Front end will soon be coded in javascript only. HTML and CSS will technically go behind the scenes.
@seyedmasihsajadi8063
@seyedmasihsajadi8063 7 жыл бұрын
Thanks for this video. It was excellent. now just i have a question. why u didn't use newDiv.innerText or newDiv.textContent ?
@King-tp6ui
@King-tp6ui Жыл бұрын
14:49 I love this part
@Hattrick249
@Hattrick249 Жыл бұрын
0:57 too lmao, what an interesting way to define what a sibling is
@maximocaceres4685
@maximocaceres4685 Жыл бұрын
same
@triptichhetri
@triptichhetri 6 жыл бұрын
Thank you so much for all the tutorials... learning about parentElement help me finish something that I was stuck on for weeks.
@osiobeajiri1711
@osiobeajiri1711 3 жыл бұрын
Your videos are interesting and full of depth, I had to go download more of your videos. Keep up the good works.
@mostafasalaheldin812
@mostafasalaheldin812 3 жыл бұрын
you made it so simple, thanks from Egypt
@Glebtc
@Glebtc 3 жыл бұрын
Thank you for not editing "that" out :)
@lucazanda212
@lucazanda212 2 жыл бұрын
The div joke absolutely killed me "...we can take this div and do different things with it"
@drummerplace590
@drummerplace590 7 жыл бұрын
Thnx, very clear and ease to consume the content you provide!!!
@photographyhub7309
@photographyhub7309 Жыл бұрын
thanks man I hope every minute of the lesson sticks to my mind as the "newDic" part did lol!
@dih12
@dih12 4 жыл бұрын
TRAVERSING THE DOM - It is nice that you got JS DOM rule based on your name :)
@mlakshmiv78
@mlakshmiv78 4 жыл бұрын
Excellent explanation. You give me hope.
@yanivsalman9685
@yanivsalman9685 7 жыл бұрын
why dislike it? you dont like go away . its damm good i dont understand why dislike something like that/ it pisses me off to see 4 dislikes
@bartmj
@bartmj 6 жыл бұрын
It's for saying "Jezus I can't type" xD it's breaking the Decalogue.
@kih9102
@kih9102 6 жыл бұрын
It's probably Brad's competition so relax.
@chimpionboy
@chimpionboy 6 жыл бұрын
This is so wow. I didn't have a clue that this could've been. Thanks Brad for sharing this tremendous know.
@studythainow
@studythainow 6 жыл бұрын
Really great video. I'm amazed at how little I knew about this. Thank you for the practical explanations.
@zareisajad98
@zareisajad98 3 жыл бұрын
This man is a legend.
@kellyt6110
@kellyt6110 3 жыл бұрын
Great video, thank you for your time creating this. Quick question - 19:30 Why are two variables from the header required here...?
@panchopaulo111
@panchopaulo111 3 жыл бұрын
A video of your own bloopers would be awesome.
@AJ-le3yh
@AJ-le3yh 6 жыл бұрын
Traversy Media discussion traversing the DOM!
@codybishop7526
@codybishop7526 6 жыл бұрын
Wow, you are awesome. I went from the Coding Train JavaScript fundamentals playlist to this Dom crash course and it makes perfect sense now. We use JS to manipulate webpages by accessing the elements in the Dom. Yay. But one small observation. I think it would so awesome if after you demonstrate how to do something (like get a dom object by calling the class) you could give a real world example of why you would make this distinction. I just pulled that at random, but in general it really helps not only know HOW to do something with code but also knowing WHY you would do something a certain way. Awesome videos man!
@onesandzeroes
@onesandzeroes 5 жыл бұрын
In short, vanilla javascript dom manipulation is still cumbersome and inconsistent. I'm back to jQuery. I prefer having this one extra file to avoid the torture. Probably unintended result, but this video has convinced me that jQuery is still needed :)
@birsingh5388
@birsingh5388 6 жыл бұрын
var newDick :) 14:50 hahaha, great humour.
@haileywale1527
@haileywale1527 4 жыл бұрын
i learn new method this is" Newdic()" thanks traversy!
@jackpaperhands
@jackpaperhands 3 жыл бұрын
BROSKI, you're a fucking legend
@XboneAus
@XboneAus 5 жыл бұрын
01:00 Brad: "Neither one of them are siblings because they are not inside each other". Alabama: uhmmmm
@OG_CK2018
@OG_CK2018 4 жыл бұрын
?
@RozArialind
@RozArialind 3 жыл бұрын
travesty: is that too much? editor: no, no. its fine keep going
@tech_channel110
@tech_channel110 Жыл бұрын
very well explained brad
@fanaFSF
@fanaFSF 4 жыл бұрын
Hi. Thanks for all your videos. You have a great gift for explaining things.
@alitalaee7468
@alitalaee7468 3 жыл бұрын
thank you so much for all tutorials you teach everything so well
@SumitSarkar96
@SumitSarkar96 4 жыл бұрын
watching for the third time. still learning........
@belmiris1371
@belmiris1371 7 жыл бұрын
This series is really great, thank you! I'm not sure which avenue to use to suggest themes for future videos so I will try it here. I know you've done Angular 2 videos for Udemy (I signed up for them) so I would really like to see a video on the basics of setting up and getting started with the ag-grid in an angular 2 project. It seems to be the only real free grid but the site is pretty random and confusing and I'm kind of confused with how to get started. As far as I can tell, if you make it, it would be pretty much the first one on the internet. Thanks again.
@jakebackpack8292
@jakebackpack8292 4 жыл бұрын
"Neither one of them are inside of each other so they are siblings" HAHAHAHAHAHAH
@mnfak4333
@mnfak4333 2 жыл бұрын
Thank you for this awesome tutorial for DOM
@hiryuimajin
@hiryuimajin 5 жыл бұрын
Sometimes I just play your videos on autoplay even if im asleep. We don't mind if you put an ad every 10 minutes =)
@zropoint5899
@zropoint5899 Жыл бұрын
Hi, Congrates for 2M subs
@myklrogers4373
@myklrogers4373 6 жыл бұрын
DAAAAAHAHHAA "should I edit that out...nah"! Brilliant :D!!
@amongdoomers9464
@amongdoomers9464 4 жыл бұрын
Time?
@nicotomomate
@nicotomomate 4 жыл бұрын
14:45
@user-oy6my2fg5k
@user-oy6my2fg5k 3 жыл бұрын
man, thank you so much for creating such great courses!
@GammerAdam
@GammerAdam 7 жыл бұрын
Hi Brad! Really love your videos. One question though: why don't you upload your example code to GitHub? I think it would be much more convenient, no?
@TraversyMedia
@TraversyMedia 7 жыл бұрын
Gradam i always upload my big projects to github like framework stuff. I do so many small front end stuff i would have 300 repos. Im starting to use codepen for smaller projects
@jbelle3177
@jbelle3177 6 жыл бұрын
ctrl + D you can select the same word
@omarfarooq686
@omarfarooq686 7 жыл бұрын
Love your videos man
@anjugarg5006
@anjugarg5006 4 жыл бұрын
thank you brad
@christophersanchez3118
@christophersanchez3118 4 жыл бұрын
I learn faster from you specially dom manipulation. if i can get a tech job in the future i will join your patreon :D
@heshankumarasinghe3159
@heshankumarasinghe3159 4 жыл бұрын
Thank you.... I learnt a lot of stuff.....
@parkerAmv
@parkerAmv 2 жыл бұрын
Thank you brad this is really helpful 😇
@haibaidzokwomandre1468
@haibaidzokwomandre1468 9 ай бұрын
It is cool to see that life was cooler before AI generative systems
@Martin958
@Martin958 3 жыл бұрын
When the element was changed to 'Hello Div' why didn't it replace the current of 'Item Lister' in the page tab?
@sergeiabramov282
@sergeiabramov282 6 жыл бұрын
Great video as always, thank you Brad!
@pfdclover
@pfdclover 7 жыл бұрын
#idontneedanewdick
@abhishekshah11
@abhishekshah11 4 жыл бұрын
Elements are a special type of Node ie HTML .
@creativegravedigger7289
@creativegravedigger7289 3 жыл бұрын
14:49 you're one crazy man
@stardommansion6773
@stardommansion6773 5 жыл бұрын
thank you for all of your videos
@barryjohnson2756
@barryjohnson2756 7 жыл бұрын
Awesome two videos. keep the hard work.
@JillsFishRoom
@JillsFishRoom Жыл бұрын
*feverishly taking notes* "he doesn't need a newDic... he thinks" lol
@nilupulperera
@nilupulperera 2 жыл бұрын
Excellent! Thank you very much.
@prashantsingh5142
@prashantsingh5142 Жыл бұрын
Thanks for sharing quality
@kingasaurio3597
@kingasaurio3597 2 жыл бұрын
It's cool to learn all this syntax, but when would you need to use this? Where to see practical examples of this?
@marvinespinoza8671
@marvinespinoza8671 5 жыл бұрын
"Should I edit that out?....Nah". Dead! lol
@yashsimra6090
@yashsimra6090 3 жыл бұрын
sir,you can make use of alt key and make changes at multiple places at the same time
@AbdullahMamunJust
@AbdullahMamunJust 7 жыл бұрын
just wow.Thanks thanks and thanks a lot. How can I show you that I am so gratefull to you!!?!!
@johncrichton3372
@johncrichton3372 4 жыл бұрын
@ 14:46 - Enjoy.
@perrymitchell7118
@perrymitchell7118 5 жыл бұрын
Im glad you didnt edit it out; I had a cheap laugh!
@mavoolumma
@mavoolumma 2 жыл бұрын
You are a life saver ! 🥰
@iancarr3923
@iancarr3923 7 жыл бұрын
Excellent as always.
@deepwoodsengineering3763
@deepwoodsengineering3763 5 жыл бұрын
Once again, great video boss!
@vincentthamrin8252
@vincentthamrin8252 2 жыл бұрын
15:23-Done
@TheLinguists
@TheLinguists 4 жыл бұрын
In this video we have learnt how to TRAVERSy and move around the DOM :D
@Lomaxient
@Lomaxient 6 жыл бұрын
Ooohhh, this is all getting a bit exciting now! (genuinely, that wasn't sarcasm)
@JeremyGalloway
@JeremyGalloway 5 жыл бұрын
Why don't these videos discuss innerHTML? My question is, why would I go through the extra steps of createElement, createTextNode, and appendChlid when I can just use innerHTML? Is there some difference/benefit to using one over the other?
@astratow
@astratow 3 жыл бұрын
createElement gives more control over what you do.
@edwardmacnab354
@edwardmacnab354 3 жыл бұрын
Is there a compact reference that will enumerate all the possible keywords and what they are used for . I suspect that this would be a very large list from which you have used only a few commonly used examples .
@mm178_
@mm178_ 3 жыл бұрын
That was great thank you very much also the link for the video codes doesn't work
@kunalpandey7189
@kunalpandey7189 5 жыл бұрын
thank you for the tutorials
@DanielK48
@DanielK48 7 жыл бұрын
Awesome videos ... all 4 of them ;)
@juwon3426
@juwon3426 4 жыл бұрын
you're amazing thank you so much
@maheshm4292
@maheshm4292 7 жыл бұрын
How to make awesome slides, thumbnails like u do...... A video on that too???????
@peteromoniyi3535
@peteromoniyi3535 6 жыл бұрын
Nice work.
JavaScript DOM Crash Course - Part 3
33:45
Traversy Media
Рет қаралды 315 М.
JavaScript DOM Crash Course - Part 1
39:01
Traversy Media
Рет қаралды 1,2 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 5 МЛН
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 4,8 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 86 МЛН
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 10 МЛН
Learn DOM Manipulation In 18 Minutes
18:37
Web Dev Simplified
Рет қаралды 1 МЛН
Node.js Crash Course
2:06:35
Traversy Media
Рет қаралды 230 М.
Async JS Crash Course - Callbacks, Promises, Async Await
24:31
Traversy Media
Рет қаралды 1,4 МЛН
Feeling Stagnant As A Developer
7:43
Traversy Media
Рет қаралды 1,7 М.
JavaScript Higher Order Functions & Arrays
34:56
Traversy Media
Рет қаралды 988 М.
JavaScript Crash Course For Beginners
1:40:30
Traversy Media
Рет қаралды 4,1 МЛН
CSS Crash Course For Absolute Beginners
1:25:11
Traversy Media
Рет қаралды 4,5 МЛН
JavaScript DOM Crash Course - Part 4 [Final Project]
22:08
Traversy Media
Рет қаралды 288 М.
AJAX Crash Course (Vanilla JavaScript)
1:09:43
Traversy Media
Рет қаралды 727 М.
My Unconventional Coding Story | Self-Taught
27:14
Travis Media
Рет қаралды 662 М.
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 5 МЛН