title: Can't load js file into child theme for Wordpress
body: <p>I'm trying to load a custom js file into a child theme. I have set up a folder within the child themes directory on FTP that contains a js file, but it does not work. Below is my code i used to enque the file. </p>
  
  <pre><code> &lt;?php
  function theme_name_scripts() {
  wp_enqueue_script('myscript', /js/public.js);
  
  }
  
  add_action( 'wp_enqueue_scripts', 'theme_name_scripts' );
  ?&gt;
  </code></pre>