What is DOM

  Рет қаралды 175,692

Hitesh Choudhary

Hitesh Choudhary

6 жыл бұрын

Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
All the learning resources such as code files, documentations, articles and community discussions are available on our website:
chaicode.com/
You can find our discord link, github link etc on the above website.
Twitter/X link: x.com/hiteshdotcom
Discord link: hitesh.ai/discord
Learn React with 10 projects: • Let's learn react from...
Learn Docker: • A practical guide on D...
Learn Kubernetes: • Complete Kubernetes Co...
How does a browser works: • How does a browser wor...
How nodejs works: • How node JS works | En...
Learn Redux-toolkit: • Learn Redux Toolkit in...
Learn NextJS: • Nextjs Full stack course
Learn Typescript: • Why to learn Typescript
Learn Javascript: • Welcome to new JavaScr...
Learn React Native: • React Native Mastery: ...
Learn Zustand: • React state management...
Learn Golang: • How to get started wit...

Пікірлер: 176
@nicholasprod2012
@nicholasprod2012 5 жыл бұрын
Explained DOM in 10 minutes what a udemy course did in 2 hours. Thank you.
@KasperMcKay
@KasperMcKay 4 жыл бұрын
You too bro?
@siddiquahanjum1347
@siddiquahanjum1347 4 жыл бұрын
totaly true man
@haroldcjennettiii
@haroldcjennettiii 4 жыл бұрын
Came here to say the same thing.
@golden4593
@golden4593 4 жыл бұрын
Hmm I always take courses off udemy and never had a problem with the instructors explanation
@WeebsWorld
@WeebsWorld 3 жыл бұрын
Lol, you haven't even used Udemy I guess, because the Teacher there explained it in 7 mints. You wanna appreciate people go for it but don't defame others.
@34521ful
@34521ful 5 жыл бұрын
I really like your teaching style, you actually spend time explaining it in a really simple manner with many examples for reassurance. Great job, keep up the good work mate.
@shubhamkumarsingh8224
@shubhamkumarsingh8224 6 жыл бұрын
Waow .... so simple ... so easy to learn it ..........thank u ..again.. sir .....
@user-bf5do2yo8l
@user-bf5do2yo8l 5 жыл бұрын
the greatest guy is who can explain a hard concept clear and simple
@saurabhkanswal7954
@saurabhkanswal7954 6 жыл бұрын
Hey hitesh congratulations for this milestone. I am happy for you💛 your 3546th subscriber
@mahmoodkashmiri
@mahmoodkashmiri 6 жыл бұрын
Oh yes! Wait is finally over... There we go DOM THANKS sir for amazing content
@tkssharma
@tkssharma 3 жыл бұрын
Watch 1000+ Tech Videos from My channel talking about Everything in Javascript Here is the playlist for React JS kzbin.info/www/bejne/kIjUl3R6mJJjgZo
@2013DNA
@2013DNA 4 жыл бұрын
..explained DOM in less than 5 minutes and did not make my head spin..lol Thank you so much!
@abhijitthorat9296
@abhijitthorat9296 6 жыл бұрын
You make teaching and learning easy bro.. 😘
@IsabelZamudio97
@IsabelZamudio97 3 жыл бұрын
Your explanations are to the point and helpful. Thank You!
@waynewalgenbach3322
@waynewalgenbach3322 4 жыл бұрын
my fav youtube friend :D You Awesome ! looked all over and read the same, still confusing explanations. still like "I DONT GET IT" ... BUT then i found you! DONE! :D strait to the point and CLEAR AND SIMPLE. takes a simple thing and explains it. YOUR THE MAN
@shpendsermaxhaj7062
@shpendsermaxhaj7062 5 жыл бұрын
Liked, subbed, and thanks a lot. This solved my question, which was: Why we do have to use DOM when we can directly go to HTML or the particular element and change it. But as I've seen on this video, it's just an easier way to manage, manipulate, see your structure, so it's like a management tool. This video solved my question.
@VarshaSingh-ye9qv
@VarshaSingh-ye9qv 5 жыл бұрын
Fabulous explanation. Thanks :)
@ayushmanbt
@ayushmanbt 6 жыл бұрын
Before I was struggling with understanding dom.. But you made this easy to understand.
@sathyamadhavan
@sathyamadhavan 2 жыл бұрын
Amazing Hitesh, explained it in very simple example, thank you.
@srujan099
@srujan099 4 жыл бұрын
my whole doubts in DOM are cleared in 10 min 💥❤️
@pavantejavydhik7354
@pavantejavydhik7354 6 жыл бұрын
hey Hitesh a big thumbs up! in 18 min you hit 180+ views . the only potential is your tendency to teach is our great motivation for Lear code, thanks much for contribution, pls keep encouraging .
@Steve-pm1zy
@Steve-pm1zy 4 жыл бұрын
You have no idea of how much this video helped me! Everyone else be sounding like Einstein. Thank you for such a simple explanation
@harynka5706
@harynka5706 5 жыл бұрын
Thank you a lot! I've found this video after hours of trying to understand this concept. Now it seems clear.
@tkssharma
@tkssharma 3 жыл бұрын
Watch 1000+ Tech Videos from My channel talking about Everything in Javascript Here is the playlist for React JS kzbin.info/www/bejne/kIjUl3R6mJJjgZo
@aliuyank7377
@aliuyank7377 2 жыл бұрын
this man is a legendary king.
@sangtran545
@sangtran545 4 жыл бұрын
Thank you for your simple explanation
@geekyboy7725
@geekyboy7725 6 жыл бұрын
It's so simple but sounds scary
@cubedev4838
@cubedev4838 5 жыл бұрын
Amazing explanation!!
@kmr_chan
@kmr_chan 5 жыл бұрын
Loved your video ...awesome
@aazammazaa
@aazammazaa 5 жыл бұрын
Simple and clear, Thanks :)
@alex19991014
@alex19991014 3 жыл бұрын
That's very clear! Thank you!
@adamliberov9639
@adamliberov9639 5 жыл бұрын
It's helped me alot, thanks...
@nayandey9112
@nayandey9112 5 жыл бұрын
It seems clear to me now.Thanks a lot
@MegaSpiderpunk
@MegaSpiderpunk 3 жыл бұрын
My dude. You just earned a subscriber today.
@MrDavid123w
@MrDavid123w 5 жыл бұрын
Thanks for the simple answer
@musicforsoul123
@musicforsoul123 4 жыл бұрын
Thank God I got this video.... I was so confused! !!
@priyanandinijain9467
@priyanandinijain9467 4 жыл бұрын
Thanku sir for great explaination.
@KingUnity22
@KingUnity22 3 жыл бұрын
Thanks for the explanation.
@mahmudulhasansohag4037
@mahmudulhasansohag4037 4 жыл бұрын
Thanks , this is now very clear to me
@Mrs4alonangel
@Mrs4alonangel 2 жыл бұрын
Thanks for the video but just a little fix about the part you tried to print the url actually printed undefined. For printing - console.log(document.URL); or console.log(document.URI);
@sabrinamitra8612
@sabrinamitra8612 3 жыл бұрын
Great video! Thanks!
@marcelvarela3118
@marcelvarela3118 5 жыл бұрын
Well explained!
@sudeepmahato4967
@sudeepmahato4967 5 жыл бұрын
I was struggling to understand DOM from last 6 months, but this video made me understand DOM within 10 mins. Nice way to explanation. It would be helpful if you uploads full courses videos like react js or node js or angular in udemy or udacity.
@HiteshChoudharydotcom
@HiteshChoudharydotcom 5 жыл бұрын
Available here courses.learncodeonline.in
@feiyucai5494
@feiyucai5494 5 жыл бұрын
7:38 It clearly said document.documentURL is undefined from line 1 on myscript.js...
@alexandreboyon2871
@alexandreboyon2871 5 жыл бұрын
"console.log(document.documentURI);" should work! With an uppercase 'i', not an L
@wovilearn5747
@wovilearn5747 3 жыл бұрын
Use "document.URL" instead
@codigosencillo8981
@codigosencillo8981 5 жыл бұрын
In simple words is a tree based on nodes, each node is an element.
@balneetkaur2043
@balneetkaur2043 5 жыл бұрын
Heartiest thanks to you sir ..😇 Whenever I wanna clear my concept i always.. Prefer to watch Ur videos at first as its always very helpfull(forSure)..!!! & your way of teaching is very APPRECIABLE .. simple+unique 😊😊 .. !!
@tkssharma
@tkssharma 3 жыл бұрын
Watch 1000+ Tech Videos from My channel talking about Everything in Javascript Here is the playlist for React JS kzbin.info/www/bejne/kIjUl3R6mJJjgZo
@sumitsharma8747
@sumitsharma8747 6 жыл бұрын
Thanks for the amazing js series ... This is the most easy way to understand DOM please continue the same.
@tkssharma
@tkssharma 3 жыл бұрын
Watch 1000+ Tech Videos from My channel talking about Everything in Javascript Here is the playlist for React JS kzbin.info/www/bejne/kIjUl3R6mJJjgZo
@ayanasanthosh3334
@ayanasanthosh3334 4 жыл бұрын
i was so confused...thank you so much
@Jonnhy0989
@Jonnhy0989 4 жыл бұрын
Thanks a lot! Very clear.
@xinranyu1684
@xinranyu1684 5 жыл бұрын
Great video!
@thisaraharshana2168
@thisaraharshana2168 3 жыл бұрын
Thank you sir. its very very clear
@samosrecaipozitiva1764
@samosrecaipozitiva1764 4 жыл бұрын
this man is true hero :D
@mfklogsaif
@mfklogsaif 5 жыл бұрын
Excellent!
@DeepakKumar-uo5zu
@DeepakKumar-uo5zu 5 жыл бұрын
hi hitesh where is your second video related to dom pls provide a link
@KidsPoems274
@KidsPoems274 3 жыл бұрын
NIce Explanation
@user-uz6xv4mw6p
@user-uz6xv4mw6p 6 жыл бұрын
Fantastic
@aceoneeve1562
@aceoneeve1562 5 жыл бұрын
sir , I hate CS for my life until i found you Salute sir ,
@EXPERIMENTSHOW.
@EXPERIMENTSHOW. 8 ай бұрын
thanx bro to save my time
@slowedandreverbgirl
@slowedandreverbgirl 3 жыл бұрын
I only knew document.getElementById() before this tutorial. Never knew we can do this much with "document". Thank you, Hitesh. This really helped.
@suryasikharej5511
@suryasikharej5511 4 жыл бұрын
you are awesome sir thank you so muchhhhhhhhhh
@EsenJolie
@EsenJolie 5 жыл бұрын
Thanks bro 🙏😌
@arnabchakraborty246
@arnabchakraborty246 2 жыл бұрын
Thank You very very much sir.........
@blaublue624
@blaublue624 5 жыл бұрын
Thank you!
@AW-ws5cf
@AW-ws5cf 4 жыл бұрын
thank you very much very usefull
@dev_casper
@dev_casper 5 жыл бұрын
Dear.. Which software do you use for coding.. Im I guess , sublime?
@ramusesandasari8451
@ramusesandasari8451 6 жыл бұрын
Awesome
@haythamkenway8343
@haythamkenway8343 4 жыл бұрын
I think the video is quite misleading. DOM means Object model(representation) of the Document(The Website). It is basically a medium(API) by which we can interact with a website using javascript. Because the HTML of a website is turned into javascript objects under the hood in a tree-like model. Truly speaking DOM is separate from the javascript language itself. We can see the object representation of the document object by writing console.dir(document). Google Chrome just abstracts away the complexities if we write console.log(document).
@Mike-vj8do
@Mike-vj8do Жыл бұрын
If i'm on a website and click a button, the html never actually changed right? Even if i click a button right? Thank you for your help!
@paankouri7511
@paankouri7511 4 жыл бұрын
Great...
@satyapradeep5812
@satyapradeep5812 5 жыл бұрын
Hi Hitesh, Can you make ReactJs and NodeJs Videos also
@soumyamandal4483
@soumyamandal4483 6 жыл бұрын
Sir,its help me a lot...please make a video abou html class,id,name,value related..
@stefanogpixels
@stefanogpixels 3 жыл бұрын
So this make sense, but when are you gonna use them? Still confused
@DheerajRijhwani
@DheerajRijhwani 6 жыл бұрын
A video on AJAX.
@Bisibletoanyoneonyoutube
@Bisibletoanyoneonyoutube 4 жыл бұрын
Mr. Hitesh why this video is not included in you js playlist???
@mutaz9025
@mutaz9025 5 жыл бұрын
this is very simply more than udacity course .
@appaluza1988
@appaluza1988 2 жыл бұрын
thank you!
@prabinlamsal5125
@prabinlamsal5125 2 жыл бұрын
Thanks a lot
@dharma01v
@dharma01v 2 жыл бұрын
Thanks!
@barbobrien2097
@barbobrien2097 5 жыл бұрын
how can i get drop-down hints? very useful
@asimshrestha1732
@asimshrestha1732 6 жыл бұрын
Sir this tutorial is so good . Sir can tell how to setup the golive and open the js file
@c-mmon2257
@c-mmon2257 3 жыл бұрын
"How you are structuring the web elements that your Document Object Model"
@yasak6476
@yasak6476 6 жыл бұрын
Thank u
@lb9915
@lb9915 3 жыл бұрын
thanks!!
@aminameera9001
@aminameera9001 2 жыл бұрын
helped a lot tnx
@user-qu4wb5qv6n
@user-qu4wb5qv6n 4 жыл бұрын
Finally an indian with understandable english, amazing keep going 👌👌👌
@user-pu8ds4ey5t
@user-pu8ds4ey5t 5 жыл бұрын
you can type js code in the console directly, so you don't have to write "console.log(...)" in
@itsinthewater6531
@itsinthewater6531 3 жыл бұрын
Great video. Do you have a tutorial on how to fix page speed error - Avoid an excessive DOM size - For non-techies.
@joshibhargav20
@joshibhargav20 4 жыл бұрын
Thank you very much man! this is pretty helpful. Something which I was searching since long, but didn't find anywhere. You mentioned exactly what we were looking at. By the way, when I am doing audit using Google Lighthouse in Chrome Dev Tools, one of the performance audit parameter is "Avoid excessive DOM size". It mentions ideally maximum tree depth should be 32 and parent-child elements should be fewer than 60. I wanna work on this; could you guide how can I get an overview of all these DOM hierarchy?
@tkssharma
@tkssharma 3 жыл бұрын
Watch 1000+ Tech Videos from My channel talking about Everything in Javascript Here is the playlist for React JS kzbin.info/www/bejne/kIjUl3R6mJJjgZo
@shauryaverma8780
@shauryaverma8780 5 жыл бұрын
@2:52 you can use window key + z to use word wrap
@NewLondonMarshall
@NewLondonMarshall 3 жыл бұрын
He's on a mac though unfortunately!
@skhossain4116
@skhossain4116 4 жыл бұрын
So in simple words: *How you structuring your web elements that is called DOM.*
@skhossain4116
@skhossain4116 4 жыл бұрын
@@bobbymidha3901 Really ?
@bobbymidha3901
@bobbymidha3901 4 жыл бұрын
@@skhossain4116 joking
@mauriciolandos4712
@mauriciolandos4712 4 жыл бұрын
@@bobbymidha3901 did you get it right?
@BangMaster96
@BangMaster96 5 жыл бұрын
I just hate textbooks now, KZbin has provided so much free and easy to understand tutorials, textbooks fail to explain so many easy concepts to students. A simple example is better than a thousand words in a textbook.
@kirthikas4940
@kirthikas4940 3 жыл бұрын
Well Explained. Thanks. What is virtual DOM?
@zubair_borkala
@zubair_borkala 2 жыл бұрын
In short, The HTML DOM is a standard for how to get, change, add, or delete HTML elements
@shipraagrahari3774
@shipraagrahari3774 6 жыл бұрын
Hiii Hitesh...you are doing fabulous job, I do like all your videos they all are relevant and helps me in lots of projects but do you any website or channel where we can discuss some of the issues we get. Like right now I am getting issue in one of my project built on angular and I need help to resolve that issue as soon as possible.
@HiteshChoudharydotcom
@HiteshChoudharydotcom 6 жыл бұрын
I usually prefer to take entire projects because to resolve such issues, I need to understand entire way of your code writing style and then fix it. This is like double work. But surely you can ping me at fb.com/HiteshChoudharyPage
@shipraagrahari3774
@shipraagrahari3774 6 жыл бұрын
Hitesh Choudhary Ok no issues... thanks for replying...n keep posting videos like this, you are very good at it.👍
@yashwardhan9014
@yashwardhan9014 5 жыл бұрын
Sir in my vscode live server is not working .What should i do?
@diveekkumar2590
@diveekkumar2590 Жыл бұрын
Hello Sir, add this video in playlist its missing over there...!
@KingUnity22
@KingUnity22 3 жыл бұрын
When you console logged the Document URL, it actually returned undefined.
@hamzafaysal909
@hamzafaysal909 6 жыл бұрын
why this video is not include in the JS playlist?
@samuelmatheson9655
@samuelmatheson9655 4 жыл бұрын
//which is better const pannel = dcoument.getElementById('pannel'); function showpannel(){ pannel.style.display="block" } //or is it better to just function showpannel(){ dcoument.getElementById('pannel').style.display="block" }
@mahmoodkashmiri
@mahmoodkashmiri 6 жыл бұрын
Hair style changed!
@HiteshChoudharydotcom
@HiteshChoudharydotcom 6 жыл бұрын
Just like my t-shirt, I don't give much thought to looks :)
@funplace3
@funplace3 5 жыл бұрын
Which editor is this?
@disha2932
@disha2932 5 жыл бұрын
Visual Studio Code
@simonllovefootball
@simonllovefootball 4 жыл бұрын
how does the keyword "Document" know to refer to index.html?
@Agorila09
@Agorila09 4 жыл бұрын
What editor is that?
@Divinecalls
@Divinecalls 4 жыл бұрын
code.visualstudio.com/download
@bojiun1377
@bojiun1377 3 жыл бұрын
What does that 'model' mean?
@shrivatsadeshpande5633
@shrivatsadeshpande5633 4 жыл бұрын
Hello sir my live server is not working.i installed it but as i clicked on "Go live" the file is not opening in my browser(my (chrome) is not opening)??? someone help me !
@rajchhatrala5988
@rajchhatrala5988 6 жыл бұрын
which text editor do you use
@DheerajRijhwani
@DheerajRijhwani 6 жыл бұрын
Raj Chhatrala VS Code
@rajchhatrala5988
@rajchhatrala5988 6 жыл бұрын
Dheeraj Rijhwani Is it free, how can I download it.
What is DOM
11:24
Hitesh Choudhary
Рет қаралды 58 М.
Where to keep js file and selecting elements
13:53
Hitesh Choudhary
Рет қаралды 28 М.
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 7 МЛН
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 47 МЛН
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 12 МЛН
JS "this" and Function References - What is it all about?
20:20
Virtual DOM, Fibre and reconciliation
13:44
Hitesh Choudhary
Рет қаралды 20 М.
useRef hook in reactjs | Easiest way
19:44
Hitesh Choudhary
Рет қаралды 72 М.
RxJS - What and Why?
9:31
Academind
Рет қаралды 423 М.
JavaScript DOM Manipulation - Full Course for Beginners
2:41:21
freeCodeCamp.org
Рет қаралды 1 МЛН
What Is Ajax?
10:03
WebConcepts
Рет қаралды 321 М.
Generating elements and Text node in DOM
21:37
Hitesh Choudhary
Рет қаралды 21 М.
Asus  VivoBook Винда за 8 часов!
1:00
Sergey Delaisy
Рет қаралды 1,1 МЛН
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,2 МЛН
Какой ПК нужен для Escape From Tarkov?
0:48
CompShop Shorts
Рет қаралды 272 М.
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 51 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 3,9 МЛН