Scripts not loading when using the wp_enqueue_scripts action

get_stylesheet_uri() loads the main stylesheet of the theme. If you need to load additional stylesheets, you need to use get_template_directory_uri() for parent themes and get_stylesheet_directory_uri() for child themes.

If you have stylesheet called custom.css in the root in a child theme, you will use get_stylesheet_directory_uri()' . /custom.css'

You should also make sure that you have wp_head() inside your <head></head> tags in your header

error code: 523