Add loops tutorial section

And add h3 id anchors, add a .note class for notes, fix some typos