Enqueuing scripts and styles is the correct way to register scripts and stylesheets on your WordPress site. You can use it for all internal and external resources.