I have seen several videos regarding this topic but not getting confidence of this level that I got after watching this video. Now I feel very much confident, satisfying and clear... Thank you so much sir for providing this basic but most important knowledge to us 🙏
Sir, I am a backend developer, mostly working with PHP, WordPress, CodeIgniter, and Laravel. However, because of you, I have fallen in love with JavaScript, and now I want to learn Angular and React as well. Thank you so much sir🙏
pehly jonas smithmann ka course dekhra tha wo boht level ka smjhata but english my hai jb k meri mother language Urdu/Hindi h to achanak 1 din anurag bhai ki video dikhi wo 7 month web dev wali to wo dekhi mene dinner krty huye tb e mje lga ye bnda same mere wali situation btara hai to tbhi mene play list check ki or mje itna dukh hua ye jan kr k mujhe pehly kyu ni is bndy ki videos mili idhr sb available hai yr mene jonas ka 30hour krlia tha course lkn anurag bhai ka mene shuru kia pichla sara revise kia or boht acha kam krwaya bro ap ny ab me idhr 51 epi pe agya love u hogya yr ... next mene react b krni or css b revice krni or tailwind b krni bhai apka watch time bhrana meri zimadari hai hehehhehehhe .... thanks alot ❤❤😂😂
Inner Text => it includes css styles , slow performance eg it will not show text if it is given style display none textContent => it excludes all css styles , faster performance eg it will show text even if it is given any style Example => This is visible text. This is hidden text. const div = document.getElementById("myDiv") console.log(div.textContent); // Output: "This is visible text. This is hidden text." console.log(div.innerText); // Output: "This is visible text."
inner text returns only the text that is visible by the user whereas in text content the text that is either hidden (display: none) or (visibility: 'hidden') is also visible
innerText se to hum dekh nahi sakte hai tags ko, or textContent se hame hidden chije bhi dikhti hai jaise ki " agar mene likha ye line" then with the help of textContent se esa dikhega " agar mene likha ye line" ye difference hai dono me. 35:00
difference b/w innertext & text content is/are: innerText only returns visible text content of a html element object textContent returns actual text content of a html element regurdless of its visibility
MashAllah ❤
Mene itna talented banda abhi tak nahi deka.
Respect from Pakistan
I have seen several videos regarding this topic but not getting confidence of this level that I got after watching this video. Now I feel very much confident, satisfying and clear... Thank you so much sir for providing this basic but most important knowledge to us 🙏
I'm glad you're getting confidence through my videos.
Keep learning and sharing 😊
all concepts are covered in depth.......very useful video
Gajab, aapke jaise teacher ki kaafi jarurat hai.. amazing teaching
Day 24: video 51 completed ....thank you sir making such great Video 😊..
17 video left for first project... excitement is on the peak 🎉🎉
Very nice Introduction of DOM thanks bhai aajtak DOM samajh nahi aaya aapki video se revise kar raha hu ache se samajh aaraha hai
Awesome, keep learning and sharing 😊
Sir, I am a backend developer, mostly working with PHP, WordPress, CodeIgniter, and Laravel. However, because of you, I have fallen in love with JavaScript, and now I want to learn Angular and React as well. Thank you so much sir🙏
Excellent Playlist Anurag everything taught in detail. You are helping by doing such vedios Thank you so much
Glad you're finding the course helpful! Keep learning and growing 😊
Thank you sir this is the most comprehensive Dom tutorial thank you sir.
Awesome 👍
Keep Learning.
pehly jonas smithmann ka course dekhra tha wo boht level ka smjhata but english my hai jb k meri mother language Urdu/Hindi h to achanak 1 din anurag bhai ki video dikhi wo 7 month web dev wali to wo dekhi mene dinner krty huye tb e mje lga ye bnda same mere wali situation btara hai to tbhi mene play list check ki or mje itna dukh hua ye jan kr k mujhe pehly kyu ni is bndy ki videos mili idhr sb available hai yr mene jonas ka 30hour krlia tha course lkn anurag bhai ka mene shuru kia pichla sara revise kia or boht acha kam krwaya bro ap ny ab me idhr 51 epi pe agya love u hogya yr ... next mene react b krni or css b revice krni or tailwind b krni bhai apka watch time bhrana meri zimadari hai hehehhehehhe .... thanks alot ❤❤😂😂
i watched alot of videos but this is best
You Deserve more views and more subscriber very helpful video😍. Sare doubts clear ho gaye...
Thank you sir...
Awesome, keep learning and sharing 😊
Conpleted 51 🎉🎉
Thankyou bhaiya
thanks guru ji for amazing explaination
Episode 51 completed bhaiya ji. Good Night bhaiya ji.
Thanku bhai ji for giving concept
❤️
Masterpiece 🔥
innerText : sirf visible text ko retrieve karta h
textContent: sabhi text ko retrieve karta h chahe visible ho ya hidden
Very useful video Sir.
Just awesome tutorial
Inner Text => it includes css styles , slow performance eg it will not show text if it is given style display none
textContent => it excludes all css styles , faster performance eg it will show text even if it is given any style
Example =>
This is visible text.
This is hidden text.
const div = document.getElementById("myDiv")
console.log(div.textContent); // Output: "This is visible text. This is hidden text."
console.log(div.innerText); // Output: "This is visible text."
ise kehte hai sikhana love u sir
Thanks for this video 😊easy to understand
Awesome, keep learning and sharing 😊
I like your content to much tnx sir ❤❤
inner text returns only the text that is visible by the user whereas in text content the text that is either hidden (display: none) or (visibility: 'hidden') is also visible
innerText se to hum dekh nahi sakte hai tags ko, or textContent se hame hidden chije bhi dikhti hai jaise ki " agar mene likha
ye line" then with the help of textContent se esa dikhega " agar mene likha
ye line" ye difference hai dono me. 35:00
Yes 👍
@@procodrr baad me dekha tha to samajh aa gaya tha ki sahi tha me, baaki seekh to aap se hi raha hu..😊😊
awesome lecture... thanks
Great, aise hi seekhte raho aur is course ko sare students tak pahuchao. Sbhi ko zaroorat hai iski.
Keep learning and sharing 😊
Supperb Sir❤❤
Great Video
Sir if possible please make a detailed video on CRP
Hey, it's a Frontend Developer. Please check your headline....😊
I have written Frondend 😀
@@procodrr That's ok 🔥🔥I watched your video and just wanted to connect with you.
@@procodrr can I use these same DOM methods in react too?
difference b/w innertext & text content is/are:
innerText only returns visible text content of a html element object
textContent returns actual text content of a html element regurdless of its visibility
Sir text content property list paragraph and heading vagera ko change kr deti hai
sir , in console we can use only dir()
humare neta kese ho 'anurag bhaiya' jese ho
I directly jumped from the forEach video to this video but surely the watch left off the video after sometime ..is it okay??
u r GOD sir
♥️😊
sir thank you so much
Mein function thk sari video dekh ky direct dom py ah gaya zeda ahm ye hi lagtha hai mujy
sir how we can access attributes of children by console
I will reach that in upcoming videos.
Sir angular.js bi sikha dain
bhai dom tree ko aisey paid course mai v nai explain krte hai...
completed
Sir please mern stack laye
bhai kya padate ho ap
❤❤❤
Hello world!
let element = document.getElementById("example");
console.log(element.textContent); // Output: Hello world!
console.log(element.innerText); // Output: Hello !
document.body.children[0].innerText="hello world";