<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="style.css">
    <script src="app.js" defer></script>
    <script src="https://api.countapi.xyz/hit/florin-pop.com/visits?callback=liveViews" async></script>
    <h1>This page got <span id="visits"></span> views.</h1>

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(29, 29, 29);
    color: blanchedalmond;
    font-size: 40px;
    font-weight: 800;   
function liveViews(response) {
    document.getElementById('visits').innerText = response.value;
// The function is called in the CDN on HTML.

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.