There might be times when you want to load certain assets like JS and CSS files on your site and you do not or can not use a child theme.
While there are plugins in the WordPress repository for loading files in the head or footer, the problem is they do not offer a way to restrict the loading to certain pages of the site.
This is where a custom functionality plugin comes in handy.
Here is a basic plugin that you could use as a starting point for loading assets in WordPress: