Newbie Developer, wanting to build "slope arrow" plugin, any advice?

You will save yourself hours of frustration if you learn basic Ruby first.