Name: High Standard Consulting Address: 2961 W MacArthur Blvd # 209, Santa Ana, CA 92704 Phone: 562-794-8182 Email: info@wesst.org Website:https://westcoastbud.io/
<div class=”counter-container”>
<div class=”counter-number” id=”counter”>0+</div>
<div class=”counter-text”>Visits in the last 12 months.</div>
</div>
<style>
/* CSS for styling the widget */
.counter-container {
text-align: center;
margin-top: 30px;
font-family: ‘Roboto’, sans-serif; /* Use the Roboto font */
}
.counter-number {
font-size: 36px; /* Smaller font size */
font-weight: bold;
color: #4CAF50; /* Example color */
}
.counter-text {
font-size: 16px; /* Smaller font size */
margin-top: 5px;
color: #555; /* Example color for the text */
}
</style>
<script>
// JavaScript for the counter functionality
document.addEventListener(“DOMContentLoaded”, function() {
const targetNumber = 958; // Change this number to your desired count
const counterElement = document.getElementById(“counter”);
let currentNumber = 0;
const increment = targetNumber / 100; // Adjust the speed by changing the denominator
function updateCounter() {
currentNumber += increment;
if (currentNumber >= targetNumber) {
currentNumber = targetNumber;
counterElement.innerText = Math.floor(currentNumber) + “+”;
} else {
counterElement.innerText = Math.floor(currentNumber) + “+”;
requestAnimationFrame(updateCounter);
}
}
requestAnimationFrame(updateCounter);
});
</script>
Please enter CoinGecko Free Api Key to get this plugin works.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkPrivacy policy