How to correctly include CSS styles and JS scripts in a WordPress theme

Как правильно подключать css стили и js скрипты в тему WordPress

This is a short note that will be useful for those starting to create WordPress themes. Or perhaps you have been doing this for a while and are not doing it 100% efficiently. Today we will look at how to correctly and correctly connect CSS styles and JS scripts to your theme.

The easiest way to connect is to open the header.php file and use the usual directive to connect your CSS styles. You can do approximately the same with JS scripts by connecting them with the