Common jQuery functions explained and implemented using plain JavaScript