I have a <head>
full of .css, .js and metadata. But there is just one script that will not run properly if it is put in the <head>
of the html. It will only work if it is at the end of the file.
What I would like to know is, if there are any documentation regarding this or a special type of rules I should follow as a beginner web designer.
<html>
<head>
<link href="css/style.css" rel="stylesheet">
<link href="css/style2.css" rel="stylesheet">
<script src="js/script.js"></script>
<script src="js/scipt2.js"></script>
</head>
<body>
<----------HTML---------->
</body>
<script src="js/secret.js"></script>
</html>