次に

自動再生

JavaScript Tutorial For Beginners 19 - Practical Example using Loops

26 ビュー • 09/17/26
シェア
埋め込む
Origin Course
Origin Course
加入者
0

Hey gang, in this JavaScript tutorial I just wanted to show you a quick practical example of using loops to change elements on a HTML page. In this example, we'll create an array of all the anchor tags on our HTML document, cycle through them using a for loop, and then add a dynamic class name to them dependant on their position in the page/array.

As always, fire away with any questions you have ninjas :).

SUBSCRIBE TO CHANNEL - https://www.youtube.com/channe....l/UCW5YeuERMmlnqo4oq

========== JavaScript for Beginners Playlist ==========

https://www.youtube.com/playli....st?list=PL4cUxeGkcC9

========== CSS for Beginners Playlist ==========

https://www.youtube.com/playli....st?list=PL4cUxeGkcC9

========== HTML for Beginners Playlist ==========

https://www.youtube.com/playli....st?list=PL4cUxeGkcC9

========== The Net Ninja ============

For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channe....l/UCW5YeuERMmlnqo4oq or http://thenetninja.co.uk

========== Social Links ==========

Twitter - @TheNetNinja - https://twitter.com/thenetninjauk

もっと見せる
0 コメント sort 並び替え

次に

自動再生