wp enqueue

wp_enqueue_style( 'style-name', get_stylesheet_uri() );

This line adds a CSS file to the list of stylesheets to be loaded. It includes two parameters: the unique name for the stylesheet, and the URI of the stylesheet.

wp_enqueue_script( 'script-name', get_template_directory_uri() . '/js/example.js', array(), '1.0.0', true );

This line adds a JavaScript file to the list of scripts to be loaded. It includes five parameters: the unique name for the script, the URI of the script, an array of dependencies, the script version, and whether the script should be placed in the footer.