This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<i class="fa fa-bars fa-lg"></i> | |
<i class="fa fa-font-awesome"></i> | |
<i class="fa fa-caret-down"></i> | |
<i class="fa fa-flag fa-fw"></i> | |
<i class="fa fa-handshake-o fa-fw"></i> | |
<i class="fa fa-camera-retro fa-fw"></i> | |
<i class="fa fa-universal-access fa-fw"></i> | |
<i class="fa fa-hand-spock-o fa-fw"></i> | |
<i class="fa fa-ship fa-fw"></i> | |
<i class="fa fa-venus fa-fw"></i> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var statsCounter=document.querySelectorAll(".jsStatsCounter");function isInViewport(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}statsCounter.forEach(t=>{var e=!1;window.addEventListener("scroll",()=>{if(!e){var n=parseInt(t.dataset.start),o=parseInt(t.dataset.end),r=n;t.textContent=n,isInViewport(t)&&(e=!0,setInterval(()=>{r<o?r+=1:r=o,t.textContent=r},25))}},!1)}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Europe has 44 countries | |
// meanwhile this array has 46 items. 'JE' and 'GI' are part of UK. | |
const euCountryCodes = [ | |
'DE', // Germany | |
'IE', // Ireland | |
'IT', // Italy | |
'MT', // Malta | |
'GB', // United Kingdom | |
'NL', // Netherlands |