js

  • Undefined error in jQuery

    Undefined error in jQuery

    One common mistake that can lead to the “undefined” error in jQuery is using the dot (.) operator instead of…

  • Targeting methods in Javascript (querySelector)

    Targeting methods in Javascript (querySelector)

    querySelector       document.querySelector(CSS Selector) querySelectorAll  document.querySelectorAll(CSS Selector) querySelector()  The querySelector() method returns the first Element within the document that matches the…