Тёмный

#23 getElementByTagName method in JavaScript 

Telusko
Подписаться 2,5 млн
Просмотров 125 тыс.
50% 1

Наука

Опубликовано:

 

31 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 142   
@belikelambo9137
@belikelambo9137 5 лет назад
If style.fontSize = 25; not working in the sense, use style.fontSize = "25px"; And tanmya sir, please change the topic name to "getElementsByTagName()" from "getElementByTagName()"
@joshuajash5094
@joshuajash5094 5 лет назад
Thanks sir.......really useful answer......i have been strucked for last several hours with that. Now it is working..
@ashishprasain
@ashishprasain 5 лет назад
Thank you friend,...
@jeremyloki318
@jeremyloki318 5 лет назад
mine still doesnt work
@nikhilbachhav7232
@nikhilbachhav7232 4 года назад
I should have read the comments first.
@playhard7573
@playhard7573 4 года назад
@@jeremyloki318 same
@AnkitGupta-jv3id
@AnkitGupta-jv3id 6 лет назад
Maine aaj hi JavaScript sikhna start Kia aapke tutorial se 10 videos ho chuke h love your way of teaching quite efficient ❤️
@SimpleSnippets
@SimpleSnippets 6 лет назад
Thank you so much Ankit. Sunke acha laga 😇✌ Keep up the support bro ♥
@EXPERIMENTSHOW.
@EXPERIMENTSHOW. Месяц назад
Thanx you so much bro ❤
@jenniekari3577
@jenniekari3577 3 года назад
Oh my god this video helped me a LOT. You explain much better than my teacher. Thanks!
@RobertRoman
@RobertRoman 3 года назад
Oh, the power you behold! I can't wait to get accustom to front end development. I have so many ideas of what I can use this stuff for :)
@Atom-Mercury
@Atom-Mercury 2 года назад
Well explained. Thanks for your video.
@freddykouakou5350
@freddykouakou5350 6 лет назад
Thanks a lot. You're a skill builder. You make programming fun to learn. Merci beaucoup
@SimpleSnippets
@SimpleSnippets 6 лет назад
Thank you so much Freddy 😇 So glad to hear this from you ✌
@VenkateshKoppuravuri-wu1hi
@VenkateshKoppuravuri-wu1hi 7 месяцев назад
Excellent explanation sir ❤
@kabelomorgan7246
@kabelomorgan7246 4 года назад
I just zooomed in a little bit!!!!, wow that get me all the time
@amritbaral5209
@amritbaral5209 2 года назад
awesome ! keep posting such videos
@gopalsharma2053
@gopalsharma2053 4 года назад
Dear Sir, I really got impressed by the talent within you and the way of yours to teach. I am new in web development. I am curious to know the method that you use to get the hints in the VS code. Like when you type style.... then the suggestions of attributes come by itself. Can you please help me that how this setting can be done?
@yt.user-zull
@yt.user-zull 6 лет назад
Loved it! You explained very well.
@SimpleSnippets
@SimpleSnippets 6 лет назад
Thanks bro :-)
@nikitatarkase5572
@nikitatarkase5572 4 года назад
Thank you sir for amazing video.These keeps concentration within full video.Your videos are really great and useful..
@handover007
@handover007 4 года назад
video toh bahut acha hai
@sakshamchhatkuli271
@sakshamchhatkuli271 4 года назад
So important thing to remember is that getElementByTagName when referenced returns us an array which we can access individually using the indexing property
@dylanm7638
@dylanm7638 3 года назад
clear explanation, thanks for your effort
@kishorks5960
@kishorks5960 6 лет назад
I want js videos on everyday from you😍😍😍
@SimpleSnippets
@SimpleSnippets 6 лет назад
Hehe, I am so happy to hear such positive feedback Kishor. Yes I am trying to do 1 video daily but can always promise you. I am involved in multple things at times like my own channel, maybe some other freelance work, family, health etc etc. So hope you understand ✌😇
@technopriti3563
@technopriti3563 6 лет назад
Excellent
@SimpleSnippets
@SimpleSnippets 6 лет назад
Thanks Priti 😇✌
@turtle768
@turtle768 4 года назад
When I included the HTML 5 DOCTYPE tag in the top of the document, this function didn't work. When I removed it, then it worked fine.
@cartoons__for__kids_Hindi
@cartoons__for__kids_Hindi 3 года назад
You are a life saver man
@subhashishghosh8969
@subhashishghosh8969 6 лет назад
First of all it’s not getElementByTagName() it’s getElementsByTagName() .
@SimpleSnippets
@SimpleSnippets 6 лет назад
Right! Someone did pay good attention 😜✌ Glad to know 😉
@vinayaksharma-ys3ip
@vinayaksharma-ys3ip 2 года назад
thanks a lot buddy!!!
@bijaykishorepatra8113
@bijaykishorepatra8113 5 лет назад
A nice one... Thanks
@monik1070
@monik1070 6 лет назад
I don't have computer , i do my programming on my phone .
@yt.user-zull
@yt.user-zull 6 лет назад
You are great!! 👍 Keep learning, you will succeed.
@monik1070
@monik1070 6 лет назад
@@yt.user-zull thank you
@SimpleSnippets
@SimpleSnippets 6 лет назад
Thats really motivating to hear buddy. Keep it up 😇✌
@JahangirKhan-dc3mm
@JahangirKhan-dc3mm 5 лет назад
sell your phone and buy a computer...
@AlgoXperience
@AlgoXperience 5 лет назад
mental
@monik1070
@monik1070 6 лет назад
I have designed program according this situation but some times it does't exacute
@shamwela_
@shamwela_ 4 года назад
If style.fontSize = 25; not working in the sense, use style.fontSize = "25px";
@joshuajash5094
@joshuajash5094 2 года назад
we can give getElementById to multiple elements in html to style but js can take first element only sir
@coffeeonly
@coffeeonly 5 лет назад
You make a nice video
@svenschroder9781
@svenschroder9781 6 лет назад
for style.fontSize doesn't work?? All others do. I have to use style.fontSize = "2em"; I cannot use an integer like in your example. Even style.fontSize = "2" does not work for me using vscode and firefox
@shankarstm2884
@shankarstm2884 3 года назад
Use 22px pixel denote as px
@shankarstm2884
@shankarstm2884 3 года назад
U had jus added a integer and It won't wrk
@darshanthakare5639
@darshanthakare5639 6 лет назад
Sir can you make a serie on jQuery after finishing the JavaScript serie.
@SimpleSnippets
@SimpleSnippets 6 лет назад
I do have plans to cover some basics on jQuery. Lets see how I can fit in those topics but that'll be at the end. But yes surely will try to cover some basics ✌😇
@yt.user-zull
@yt.user-zull 6 лет назад
@@SimpleSnippets @Simple Snippets Yeah.!! It will be too good to cover jQuery. But, first try to cover as much JavaScript topics as you can. You are doing really appreciable. Yessss, one more thing to say....keep going with your cool pedagogy.!!
@SimpleSnippets
@SimpleSnippets 6 лет назад
@@yt.user-zull thank you so much for your constant support buddy ✌️👍 means a lot to me ✌️
@deep87
@deep87 3 года назад
Its better to use querySelectorAll( )
@fayzaanqureshi6808
@fayzaanqureshi6808 5 лет назад
Sir can we change multiple Properties of a particular tag on the same line????
@jv18creator
@jv18creator 4 года назад
conclusion: never use js for small css changes ;)
@jayanthvenavenka7668
@jayanthvenavenka7668 4 года назад
You have said that we can use getElementById to every tag which have the same id but according to HTML,no two tags can have same id right??
@retroprime7244
@retroprime7244 3 года назад
thank you
@survivegamer0077
@survivegamer0077 3 года назад
function changestyling() { var para= document.getElementsByTagName("p"); para[0].style.fontSize="30px"; } this will work
@deepfit170
@deepfit170 3 года назад
Tq bro
@pallavishaw2128
@pallavishaw2128 5 лет назад
how can i add multiple style in one para
@bhupeshkumar667
@bhupeshkumar667 3 года назад
function changeStyle() { var para=document.getElementsByTagName("p"); for(var i=0;i
@fridaynightfirstshow1406
@fridaynightfirstshow1406 3 года назад
How to add an image after the paragraph 3 using js
@praveens20_
@praveens20_ 5 лет назад
Can't we use para.style.fontsize to change fontsize of all the p tags 🤔
@sakshamchhatkuli271
@sakshamchhatkuli271 4 года назад
style.fontSize = "25px"; worked but not 25
@SureshKumar-gm9cz
@SureshKumar-gm9cz 6 лет назад
Please add more videos
@SimpleSnippets
@SimpleSnippets 6 лет назад
Yes Suresh working on it as much as possible ✌
@mathstalkswithruchika9746
@mathstalkswithruchika9746 5 лет назад
bro fontsize attribute work nahi kar raha
@playhard7573
@playhard7573 4 года назад
same problem. can't manipulate the first paragraph tag.
@jayavaiya9400
@jayavaiya9400 4 года назад
Same problem
@sayanmandal5322
@sayanmandal5322 4 года назад
Got it guys, You have to write the size within quotes with specific units such as em,rem,px...🙂 Eg. para[0].style.fontSize = "2rem"
@jayap8355
@jayap8355 3 года назад
@@sayanmandal5322 thenks
@monik1070
@monik1070 6 лет назад
Which is can be play by two Player
@mrrishiraj88
@mrrishiraj88 2 года назад
👍
@Abhijit.Ghosh20
@Abhijit.Ghosh20 5 лет назад
Why don't you use loop into the para[ ] ??
@monik1070
@monik1070 6 лет назад
And if player's predict and computer's number is same than players win otherwise , a number which was put by player like 3 become x
@joaomakiese5634
@joaomakiese5634 5 лет назад
Can you send me the link's video "getElementById" ? I don't see it in the playlist
@williamwatson7566
@williamwatson7566 3 года назад
It doesn't work, unless you exclude the !DOCTYPE, why? CodePen doesn't allow it to work
@subhashmukherjee3114
@subhashmukherjee3114 3 года назад
AWS doesn't support this code, Extension Working ​ undefined bundle.js:3 [AwsUi] Region alias "text" for "Button" has been deprecated. Use "children" prop instead
@maheshbharathakavi2013
@maheshbharathakavi2013 4 года назад
Hi Tanmay function is not working sir can you help me in this function ChangeStyeling() { var para = document.getElementsByName("p"); para[0].style.fontSize=25; para[1].style.color="blue"; }
@NagaRaju-tm8xe
@NagaRaju-tm8xe 5 лет назад
Pls make class for onchane event
@avikanodiya7239
@avikanodiya7239 6 лет назад
Nice video but why i get durex ad😑😂
@SimpleSnippets
@SimpleSnippets 6 лет назад
Well you need to ask that question to yourself buddy 😛 ads are contextual in nature which means Google tries to show only those ads which might be of your interests 😛
@iamayushdas
@iamayushdas 4 года назад
style.fontSize = "25px" OR 25 NOT WORKING SIR
@cartoons__for__kids_Hindi
@cartoons__for__kids_Hindi 3 года назад
Remove doc type from starting
@monik1070
@monik1070 6 лет назад
Player is no matter but when you computer starts playing it some times repeats the number
@martinbozinovski
@martinbozinovski 5 лет назад
Doesnt work .fontSize your way for me. Need to be "24px" with quotes
@kannonfrost665
@kannonfrost665 4 года назад
true
@monik1070
@monik1070 6 лет назад
1.player(person) 2.computer
@annamaiah08
@annamaiah08 5 лет назад
Without giving index, we can't access elements by id
@alonsocervantez1487
@alonsocervantez1487 4 года назад
Minute 2:05, the summary of the last 4 videos :)
@monik1070
@monik1070 6 лет назад
Then player assume a number and put it into a variable and computer also assume a number randomly then
@monik1070
@monik1070 6 лет назад
I am a java begineer
@monik1070
@monik1070 6 лет назад
I am not giving you a puzzle , but i want to get solution.
@shreyasrami2190
@shreyasrami2190 4 года назад
Someone please help Everytime i am getting 'undefined var '
@apurvsoni979
@apurvsoni979 6 лет назад
Bro recommend me a book of Java script for reference .
@SimpleSnippets
@SimpleSnippets 6 лет назад
I personally never read any actual book. I don't think you will need one. You will get everything (literally everything) online. You just need to google or youtube it ✌
@destroyerofchalk6456
@destroyerofchalk6456 5 лет назад
No auto-subtitles, no "I like this".
@SureshKumar-gm9cz
@SureshKumar-gm9cz 6 лет назад
Tanq
@puneetsagar5014
@puneetsagar5014 4 года назад
Need help bro mere chrome browser main fontsize change nahi ho Raha hai onclick event pe
@dekugaming45
@dekugaming45 4 года назад
bro instead of 25 use "25px"
@monik1070
@monik1070 6 лет назад
In this game we have 0 to 9 total 10 numbers
@anandbarhanpurkar5487
@anandbarhanpurkar5487 6 лет назад
Hey guys is there anyone OCJP certified person here who can just me book for practice for OCJP exam plz comment down
@55srikanth
@55srikanth 3 года назад
It is not Element..it's Elements
@monik1070
@monik1070 6 лет назад
Both players predict a numbers of his opponent(computer) and put it in a computer.
@avikanodiya7239
@avikanodiya7239 6 лет назад
Bhai dekh to le series konsi he gandu kuch bhi kahi bhi
@monik1070
@monik1070 6 лет назад
Can you help me
@monik1070
@monik1070 6 лет назад
I can give you my source code...
@grinding_2.094
@grinding_2.094 5 лет назад
We could have done this easily by css
@monik1070
@monik1070 6 лет назад
Let me explain you
@monik1070
@monik1070 6 лет назад
Hello
@monik1070
@monik1070 6 лет назад
Naveen reddy
@monik1070
@monik1070 6 лет назад
I have make a game
@ahmarabdullah7888
@ahmarabdullah7888 5 лет назад
Lecture was good but ur English definitely penetrate my ears
@kavishshah5586
@kavishshah5586 4 года назад
bau kari la te to
@shivarajkenganur5372
@shivarajkenganur5372 4 года назад
Hi sir i sent one mail please check sir
@ClassicCartoonsNL
@ClassicCartoonsNL 5 лет назад
Oh Teluskoo, maybe the content is good but your accent(english) is so bad that my ears hurt. You should practice speaking more often to be understood better by the audience.
@everydaylifeasitis
@everydaylifeasitis 11 месяцев назад
para[0].style.fontSize = "40px" is working. without the double quotes its not working.
Далее
#24 getElementByClassName method in JavaScript
7:31
Просмотров 118 тыс.
#33 Timing Functions in JavaScript
10:53
Просмотров 87 тыс.
#19 Starting with DOM Manipulations in JavaScript
9:58
JavaScript filter() method in 6 minutes! 🚰
6:30
Просмотров 22 тыс.
STOP Using Classes In JavaScript | Prime Reacts
14:02
Просмотров 245 тыс.
How to Learn Javascript in 2023 (From ZERO)
8:04
Просмотров 313 тыс.
#1 Getting Started | JavaScript Tutorial for Beginners
10:23
JavaScript Tutorial #28 | Iterators
11:29
Просмотров 1,9 тыс.
Learn JSON in 10 Minutes
12:00
Просмотров 3,2 млн