Here is a general guide to start Javascript and CSS
After that the forum has plenty of examples and project files with code to load and examine using Javascript. Just search for the topic you are interested in.
Then you will find all the hypeDocument specific API functions in the documentation here:
Hope this helps