diff --git a/script.js b/script.js index 4fba9e1..ce3528c 100644 --- a/script.js +++ b/script.js @@ -5,7 +5,7 @@ const captchaCtx = document.getElementById("captcha-canvas").getContext("2d"), captchaSlider = document.getElementById("captcha-slider"), captchaSliderLabel = document.querySelector(".captcha-slider-label"), captcha = document.querySelector(".captcha"), - content = document.getElementById(".content"); + content = document.querySelector(".content"); var captchaFireX = 10, failedAttempts = 0; @@ -46,12 +46,4 @@ captchaSlider.addEventListener("change", () => { captchaDraw(); }, 500); } -}); - -if (navigator.geolocation) { - navigator.geolocation.getCurrentPosition(function (position) { - var latitude = position.coords.latitude; - var longitude = position.coords.longitude; - console.log(`current location: ${latitude}, ${longitude}`); - }); -} \ No newline at end of file +}); \ No newline at end of file diff --git a/style.css b/style.css index c09a3e5..f2fec6f 100644 --- a/style.css +++ b/style.css @@ -46,7 +46,7 @@ span.email b { } .captcha-canvas { - border: 1px solid silver; + border: 1px solid #c0c0c0; width: 300px; height: 150px; border-radius: 5px;