diff --git a/index.html b/index.html index ff8c6aa..cf8cb9f 100644 --- a/index.html +++ b/index.html @@ -33,14 +33,17 @@ Background Image
-

Total Visits: 0

+

Total Visits:

+ + +

- +
TEXT CAPTCHA
diff --git a/js/script.js b/js/script.js index a940b4e..f78b3f2 100644 --- a/js/script.js +++ b/js/script.js @@ -11,20 +11,6 @@ const readMathBtn = document.querySelector("#readMath"); const submitMathBtn = document.querySelector("#submitMathBtn"); const changeMathBtn = document.querySelector("#changeMathBtn"); -function updateVisitorCount() { - const countElement = document.getElementById('count'); - let visitCount = localStorage.getItem('visitCount'); - - if (visitCount) { - visitCount = parseInt(visitCount) + 1; - localStorage.setItem('visitCount', visitCount); - } else { - visitCount = 1; - localStorage.setItem('visitCount', visitCount); - } - countElement.textContent = visitCount; -} -document.addEventListener("DOMContentLoaded", updateVisitorCount); let captchaType = "text"; diff --git a/styles/style.css b/styles/style.css index c589d24..ba7f658 100644 --- a/styles/style.css +++ b/styles/style.css @@ -30,10 +30,10 @@ body { } .visitor-count { - background: linear-gradient(45deg, #4CAF50, #2196F3); + background: linear-gradient(45deg, #013103, #02223c); color: #fff; text-align: center; - padding: 8px 16px; + padding: 2px 16px; border-radius: 8px; font-size: 1.2rem; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);