Update
Thank you Chris and Taplar for providing the following links -
www.getbootstrap.com/docs/4.5/getting-started/introduction
load and execute order of scripts
I did not look at the documentation in the first place because I did not have enough grasp of the issue, to even know what part of the documentation to search in.
Original Question
I had many issues when adding my date widget to my customer user profile model, you can see more of my code relating to the issue here. One issue was related to the order of my Java Scripts.
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tempusdominus-bootstrap-4/5.1.2/js/tempusdominus-bootstrap-4.min.js" integrity="sha256-z0oKYg6xiLq3yJGsp/LsY9XykbweQlHl42jHv2XTBz4=" crossorigin="anonymous"></script>
If I put my scripts the other way round, the date widget would not work.
It never dawned on me that the order the scripts were in would have an impact on whether the code worked or not.
Would an experienced Python programmer be able to tell, just by looking at the two scripts, what order they need to be in?
To prevent future problems, is there anything I can check, to work out what orders script need to be written in?