diff --git a/index.html b/index.html
index 5333b24..d4d09f5 100644
--- a/index.html
+++ b/index.html
@@ -3,6 +3,9 @@
+
+
+
@@ -12,12 +15,26 @@ Captcha Validator Using HTML, CSS and JavaScript
+
+
+
+
+
+
Google Recaptcha v2
+
+
+
diff --git a/script.js b/script.js
index 1824dca..75fcabf 100644
--- a/script.js
+++ b/script.js
@@ -74,3 +74,13 @@ refreshButton.addEventListener('click', function() {
ctx.fillText(refreshArr.join(''),captchaText.width/4, captchaText.height/2);
output.innerHTML = "";
});
+
+// Google Recaptcha Alert
+let getResponse = (e)=>{
+ if(grecaptcha.getResponse() != ""){
+ alert("Correct")
+ document.querySelector("#outputgoogle").innerHTML = "Coorect"
+
+ }
+
+}
diff --git a/styles.css b/styles.css
index 5be9551..c7245d5 100644
--- a/styles.css
+++ b/styles.css
@@ -59,3 +59,8 @@ body {
.correctCaptcha {
color: #7FFF00;
}
+
+.google{
+ margin-top: 30px;
+ color: white;
+}
\ No newline at end of file