What is the basic concept behind hooks?

Media Queries – SitePoint

Introduction to CSS Media Queries

Working with JavaScript and jQuery | Drupal.org

Working with JavaScript and jQuery | Drupal.org