function updateHeaderHeight() {
        // Get the height of #brx-header
        const headerHeight = document.querySelector('#brx-header').offsetHeight;
          
        // Store the height in the CSS custom property --header-height
        document.documentElement.style.setProperty('--brxw-header-height', headerHeight + 'px');
    }

    // Execute the function as soon as the document is ready
    document.addEventListener('DOMContentLoaded', function() {
        updateHeaderHeight();  // Initial update of header height when the document is ready

        // Update the header height on window resize and orientation change
        window.addEventListener('resize', updateHeaderHeight);
        window.addEventListener('orientationchange', updateHeaderHeight);
});

Getting to know my engine

I thought it might be a good idea to get to know the engine on the van (Ford Duratorq 2.4L) a little better and get familiar with the location of the main components. The van is in the garage getting fixed up and MOTed so this is one of the things I’ve been doing while waiting:

duratorq-engine-annotation-p1

duratorq-engine-annotation-p2

duratorq-engine-annotation3

Comment below
Subscribe
Notify of
guest
13 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments