HTMLCollection vs. NodeList Explained!

Поделиться
HTML-код
  • Опубликовано: 13 янв 2025

Комментарии • 100

  • @aryomuhammad8254
    @aryomuhammad8254 3 года назад +2

    Man seriously, you saved my life! Thanks alot!

  • @LePhenixGD
    @LePhenixGD 2 года назад +1

    Man you saved me from a mental breakdown, I was so confused as to why I couldn't apply array methods using querySelector
    Thank you very much, it clarifies a lot about how to select the elements from the DOM!

  • @BSITVinluanEner
    @BSITVinluanEner 2 года назад +1

    man, you deserve heart and support i love your explanation brooo thanks !

  • @mahaan6218
    @mahaan6218 4 года назад +5

    Wow! Best video on the topic I've ever seen. Please continue uploading more vids like this one. We love to see them. Liked and Subbed :P

  • @TheCodeCreative
    @TheCodeCreative  4 года назад

    🗣JOIN the Code Creative Facebook group! :
    facebook.com/groups/1612600368887577

  • @oleksiipetrenko3824
    @oleksiipetrenko3824 3 года назад +1

    Best video on the topic I've ever see

  • @damilolaoladele9670
    @damilolaoladele9670 2 года назад +2

    completely helpful. Thank you for such a self-explanatory content.

  • @tommynotts1400
    @tommynotts1400 4 года назад +2

    Excellent! I'm going to watch all of your videos.

  • @Utsavojha2
    @Utsavojha2 4 года назад +2

    Was getting confused how nodeList was being accessed with index and forEach. Cleared me up. Thanks!

  • @jkwarren375
    @jkwarren375 4 года назад +3

    Thank you for explaining it so clearly. Subscribed!

  • @taofeeqomotolani2311
    @taofeeqomotolani2311 2 года назад +1

    Super clear and precise

  • @TheCodeCreative
    @TheCodeCreative  3 года назад

    📖 Download my FREE "Google Search Secrets for Developers" Cheat Sheet:
    store.thecodecreative.com/google-secrets-cheat-sheet

  • @HabibaAhmed-p1b
    @HabibaAhmed-p1b Год назад +1

    this video is completely helpful. now I can understand the difference, keep going to do more videos❤

  • @abrarmansouri2746
    @abrarmansouri2746 3 года назад +1

    Thank you. 🙏And for listing the other node type! I was a bit confused but not after watching this.

  • @workingTchr
    @workingTchr Год назад +1

    Excellent explanation. Put me on the right road.

  • @fmri4301
    @fmri4301 4 года назад +7

    This is the first video of HTMLCollection vs nodeList which was actually useful. Although the the implementation of Live vs Static is still weird for me... I mean static collection still update the DOM ...

    • @TheCodeCreative
      @TheCodeCreative  4 года назад

      Hi fMRI, glad it was useful! Let me know what was confusing to you about Live vs. Static. Can you give an example of a static collection updating the DOM?

    • @fmri4301
      @fmri4301 4 года назад +1

      @@TheCodeCreative Actually all was very clear. However, a lot of articles tell you HTMLCollection = Live and NodeList = Static, which is true in most cases but then there is .childNodes which is a NodeList but also Live...

    • @TheCodeCreative
      @TheCodeCreative  4 года назад

      @@fmri4301 ah, I see what you're saying. Yes, that definitely is confusing to remember! :-)

  • @drkunivrs
    @drkunivrs 6 месяцев назад +1

    Thanks for the explanation, it's been very helpful!

  • @andrewgarfinkel1978
    @andrewgarfinkel1978 3 года назад +1

    awesome video! very informative . Easy to follow example to demonstrate a confusing topic. Well done!

  • @anlai4586
    @anlai4586 3 года назад +6

    thank for your useful video. Could you give us some examples when should use both?

  • @Viralvlogvideos
    @Viralvlogvideos 2 года назад +1

    Thanks man it helped me to understand pros and cons

  • @samadkhan-ch1bx
    @samadkhan-ch1bx 2 года назад +1

    A very Nice and Helpful Video👍👍

  • @jeromebranchetti6002
    @jeromebranchetti6002 2 года назад +2

    Thanks Sir... What needed

  • @vitaliimohylnyi9967
    @vitaliimohylnyi9967 4 года назад +1

    Good job, everything is clear. I like your channel, there are a lot of useful videos! thx

  • @StrangerDanger352
    @StrangerDanger352 2 года назад +1

    Thank you so much i loved your teaching 🙏🏻

  • @Binary__
    @Binary__ 2 года назад +1

    Great Video. It helped me a lot.

  • @muhammadilhamrobani7042
    @muhammadilhamrobani7042 2 года назад +1

    very helpful! thank you for your explanation

  • @TheCodeCreative
    @TheCodeCreative  4 года назад

    To subscribe to the channel: ruclips.net/channel/UCmOpHGj4JRWCdXhllVTZCVw

  • @rahulbind6986
    @rahulbind6986 3 года назад +1

    Thank u man .. You are a life saver

  • @masterprogrammer1855
    @masterprogrammer1855 Год назад +1

    Very useful video. Thank you

  • @antoniomemo636
    @antoniomemo636 3 года назад +1

    nice illustrated recap 👍

  • @juanguirao
    @juanguirao 3 года назад +1

    Very useful!

  • @gilbertocarvalho7088
    @gilbertocarvalho7088 2 года назад

    Thank you . I am grateful for your help.

  • @michamarkiewicz5355
    @michamarkiewicz5355 2 года назад +1

    Very helpful thanks!

  • @mguimenez
    @mguimenez 3 года назад +1

    Thanks I'm from Argentina and I understood

  • @aronreis
    @aronreis 3 года назад +1

    This video was great

  • @cesarpintos8418
    @cesarpintos8418 4 года назад +1

    Thank you so much for this video, god bless you sir

  • @davesharma8946
    @davesharma8946 Год назад +1

    Thanks sir
    Just wanted to point out that in array.from the second arguement is the map method so you didnt need to explicitly use the map

    • @TheCodeCreative
      @TheCodeCreative  Год назад +1

      That's really cool! I'm gonna use that all the time now 😀

  • @priv-l3z
    @priv-l3z 2 года назад +1

    grateful for such a clear explanation, like+sub

  • @Webbi_Trax
    @Webbi_Trax 3 года назад +1

    great video

  • @Pinovski
    @Pinovski 2 года назад +1

    which skin of vsc?

  • @natashasimone1931
    @natashasimone1931 4 года назад +1

    Great thanks!

  • @Knards
    @Knards 3 года назад +1

    Late to the party but thanks for the excellent explanation

  • @lenhu7089
    @lenhu7089 4 года назад +1

    ❤️❤️❤️👍👍👍thank you

  • @hardtruthes
    @hardtruthes 3 года назад +2

    good video

  • @KevinMaximus
    @KevinMaximus 3 года назад +1

    Thank you

  • @robertobenedit
    @robertobenedit 2 года назад +2

    fantastico!

  • @ramidaoud3776
    @ramidaoud3776 3 года назад +1

    I have a feeling that you edited this video on a linux box

  • @AhmedIbrahim-fi2so
    @AhmedIbrahim-fi2so 3 года назад

    dud that is so confusing 😩😩😩

    • @TheCodeCreative
      @TheCodeCreative  3 года назад

      Is there anything in particular that you found confusing?

  • @BOGDES83
    @BOGDES83 Год назад +1

    well explained. thank you!🙏