When starting to read and write code...
It can be hard to picture Divs, Functions, PHP Statements, and JQuery Statements, especially when they are nested inside () {} and [] brackets.
...Here is a way to look at it...
Using the practice of calling the smallest set of workable code...
a "snippet of code".