I'm trying to figure out how to get ANY Javascript to work and where to place the files.
I tried several ways but what is the most logical way? I've been trying for a week, but since I can't find a tutorial on it, I'm going to assume it's embarrassingly easy.
I'm just trying to understand where to put which files before I venture further into this coding journey.
Any help is much much appreciated!
What I've done so far:
- I created a Childtheme and added the hook-code to the functions.php file (see image) There seem to be double code here but I'm not sure
- I acquired the files for a .js slider (tried several) but I'm not sure where to put the code/files
- The HTML I put in a HTML widget top of page, the CSS I put in Wordpress' 'Additional CSS' and the Javascript I put in the functions.php between the brackets.
- I also tried to add the code files in the ChildTheme folder but also didn't work