Where to place code for mobile Navbar in materialize css?
<p>I am trying to create a mobile Nav-Bar using MaterializeCSS, but I do not understand where to post the Javascript.</p>

<p><a href="http://materializecss.com/navbar.html#!" rel="nofollow">The bottom of this page</a></p>

<p>says to put this code:</p>

<pre><code> $(".button-collapse").sideNav();
</code></pre>

<p>in my </p>

<pre><code> $( document ).ready(function(){})
</code></pre>

<p>I have no experience with Javascript at all, so figuring out what this means has been a struggle, even with google-fu.</p>

<p>Does this go within the existing materialize.js file? If so, where?</p>

<p><a href="http://pastebin.com/jkeg2L3L" rel="nofollow">here is the code for my navbar</a></p>