I have a HTML/CSS form which requires an external Javascript. I have the HTML on my required page with linking code to the javascript. I have a wordpress website and I just put the folder with the javascript in Public_HTML. Is this correct, it is not working for some reason? Code in HTML:
<script src="csgoboost/js/jquery.js"></script>
<script src="csgoboost/js/bootstrap.min.js"></script>
<script src="csgoboost/js/boosting.js"></script>
Thank (I am a bit of a beginner)
if you are using wordpress then put the js folder in themes folder like
public_html/wp-content/themes/yourThemeName/js-folder
and then call the
<script src="<?php echo get_template_directory_uri();?>/js-folder/file.js"></script>