I am using one of the themes from here https://startbootstrap.com/template-categories/all/.

Everything is working fine. But when I add some javascript function to the <head> or the body section like "alert('Hello World')" or "console.log('Hello world')" nothing happens.

Any help is appreciated.