The issue occurs because you're using get_template_directory_uri(), which points to the parent theme's directory. Since you're working with a child theme, you should use get_stylesheet_directory_uri() instead, which points to the child theme's directory.
wp_enqueue_script( 'custom-js', get_stylesheet_directory_uri() . '/js/footerhide.js', array('jquery'), null, true );
get_template_directory_uri(): Points to the parent theme directory.
get_stylesheet_directory_uri(): Points to the child theme directory.
Replace your wp_enqueue_script line with the corrected version, and your script should now load from the child theme's js folder.
Snow Rider
The issue occurs because you're using get_template_directory_uri(), which points to the parent theme's directory. Since you're working with a child theme, you should use get_stylesheet_directory_uri() instead, which points to the child theme's directory.
wp_enqueue_script( 'custom-js', get_stylesheet_directory_uri() . '/js/footerhide.js', array('jquery'), null, true );
get_template_directory_uri(): Points to the parent theme directory.
get_stylesheet_directory_uri(): Points to the child theme directory.
Replace your wp_enqueue_script line with the corrected version, and your script should now load from the child theme's js folder.
Snow Rider