SHARE

Hey gang, in this JavaScript DOM tutorial I’ll show you how we can create a tabbed content box.

—– COURSE LINKS:
+ Atom editor – https://atom.io/a
+ GitHub Repo – https://github.com/iamshaunjp/JavaScript-DOM-Tutorial

———————————————————————————————
Other tutorials:

—– JAVASCRIPT FOR BEGINNERS:
https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET

—– CSS FOR BEGINNERS:
https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT

—– NODE.JS TUTORIALS
https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp

—– SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

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

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

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

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

6 COMMENTS

  1. The fact that element.tagName returns uppercase in HTML threw me. Couldn’t get my script to work until I changed it from lower to upper. That’s what I get for entering the code myself and not following the Ninja’s instructions explicitly. Live and learn.

  2. In the last if you are comparing element from Node list to a string which contains id. How does it work that "if"? It returns true while there are a lot of other data inside this node so how it know that it has to mach this exactly id not for example class or element name?

LEAVE A REPLY

Please enter your comment!
Please enter your name here