Wpis z mikrobloga

@TrebuniTutek: Ad 2. Dodaj console.log dla elems w pętli. Zobaczysz, że tablica* się zmienia.

* Tak naprawdę to nie jest tablica. Z dokumentacji: The Element.getElementsByClassName() method returns a live HTMLCollection containing all child elements which have all of the given class names.
  • Odpowiedz