Tag: querySelectorAll

  • JavaScript Tutorial | Modals & Loops | Part 2

    In the previous video we added JavaScript to let our modal appear and disappear after a “click” event. Unfortunately, using the “querySelector” to open the modal only works for a single element. Time to find out how to select multiple elements of the same class with “querySelectorAll” and also how to use loops and “addEventListener”…

  • HTML5 template Element Tutorial JavaScript Programming

    Lesson Code: http://www.developphp.com/video/HTML/HTML-template-Element-Tutorial-JavaScript-Programming Learn how to use the HTML5 template element. The template element is used to clone HTML fragments using JavaScript, Ajax and JSON after the page has loaded. PHP and MySQL can be tapped into via Ajax requests, and JSON format data that reflects your database content can be returned to your application.…