Link Redirector Full Script For Adsterra By 29 earn and learn


 


CODE:-

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Click Counter</title>
<style>
    body {
        font-family: Arial, sans-serif;
        background-color: #f4f4f4;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }
    .container {
        text-align: center;
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    #counter {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .button {
        padding: 10px 20px;
        background-color: #007bff;
        color: #fff;
        border: none;
        cursor: pointer;
        border-radius: 5px;
        text-decoration: none;
        transition: background-color 0.3s;
        display: inline-block;
        margin: 0 10px;
    }
    .button:hover {
        background-color: #0056b3;
    }
    #visitButton {
        display: none;
    }
</style>
</head>
<body>
<div class="container">
    <div id="counter">Click the button below 10 times to proceed.</div>
    <a id="clickButton" href="https://example.com" onclick="countClicks()" class="button" target="_blank">Click Me</a>
    <a id="visitButton" href="https://example.com" class="button" target="_blank">Visit</a>
</div>

<script>
    var clickCount = 0;

    function countClicks() {
        clickCount++;
        document.getElementById("counter").textContent = "Clicks: " + clickCount;
        if (clickCount >= 10) {
            document.getElementById("clickButton").style.display = "none";
            document.getElementById("visitButton").style.display = "inline-block";
        }
    }
</script>
</body>
</html>

Post a Comment

Previous Post Next Post