Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
chetflowers authored Mar 6, 2025
1 parent e9169b7 commit bcccebd
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ <h1>Welcome to GetByeBye</h1>
<p>Protect your digital privacy. Learn how to detect and remove stalkerware from your phone.</p>

<button class="btn" id="scrollToForm">Get Updates</button>
<a href="quiz.html" style="text-decoration: none; color: #0f0;" class="btn" style="text-decoration: none;">Take the "Am I Being Tracked?" Quiz</a>
<a href="quiz.html" class="btn" style="text-decoration: none; color: #0f0;">Take the "Am I Being Tracked?" Quiz</a>

<div id="email-form" style="margin-top: 40px;">
<div id="email-form" style="margin-top: 200px; padding-bottom: 100px;">
<h2 style="color:#0f0;">Stay Updated</h2>
<p>Enter your email to receive important security tips and updates.</p>
<form action="https://formspree.io/f/mldjrdwk" method="POST">
Expand All @@ -57,14 +57,7 @@ <h2 style="color:#0f0;">Stay Updated</h2>

<script>
document.getElementById("scrollToForm").addEventListener("click", function() {
const formElement = document.getElementById("email-form");
if (formElement) {
formElement.scrollIntoView({ behavior: "smooth", block: "start" });
} else {
console.error("Element #email-form not found");
}
});
});
document.getElementById("email-form").scrollIntoView({ behavior: "smooth", block: "end" });
});
</script>

Expand Down

0 comments on commit bcccebd

Please # to comment.