Another way of approaching this question is to write some code that does something with the DOM and then consider how you would turn that code into a jQuery plugin.
If that seems too difficult, then do it the other way around, take a jQuery function and rewrite it as ordinary js code to do something independant of jQuery.