# Adding Inline JS Code

Depending on what you'd like to achieve with the customization, put your custom JS code in the suitable function in the 📄 HTML/js/app.js file:




 
 
 
 



 
 
 
 




window.app = {
  ...
  initAJAX: () => {
    /**
     * The code you put here will be executed
     * on page load AND on each AJAX transition
     */
  },

  initOnce: () => {
    /**
     * The code you put here will be executed only once
     * on page load.
     */
  },
  ...
}