Also, I am a little confused about the best way to add css to a specific page. Should we use a hook element or simple css? Which is the best way?
1.Choose wp_footer as hook name.
2.Choose where you want it to load in the location section, eg, pages > page A
3.Wrap your JS code like this <script> your code </script>, enter it in to the content area.