For example, I could write all the scripts in the index.html file, but I would like to be able to write them in a different file to keep them organized.
You're going to be ok with multiple files, no need to fit everything into an index.
Ok, thanks!