JSFiddle - React, Tailwind, and code Playground

HTML

<p></p>

JavaScript

//Define the functions
function firstFunction() {
    console.log("first");
}

function secondFunction() {
    console.log("second");
}

function thirdFunction() {
    console.log("third");
}

//Call al functions on document ready
jQuery(document).on('ready', function(){
    firstFunction();
    secondFunction();
    thirdFunction();
});

//AND MAYBE REUSE THEM IN A RESIZE EVENT
jQuery(window).on('resize',function(){
    secondFunction();
});