Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login Button Not Redirecting to login.html #1197

Open
Parth04exe opened this issue Oct 16, 2024 · 2 comments
Open

Login Button Not Redirecting to login.html #1197

Parth04exe opened this issue Oct 16, 2024 · 2 comments
Assignees
Labels
hacktoberfest This issue is under Hactoberfest Contribution hacktoberfest-accepted This PR is officially accepted in Hactoberfest 2024

Comments

@Parth04exe
Copy link

hello @anuragverma108

The login button with the id="openPopup" is not properly redirecting to the login.html page. The issue is due to missing event handling in JavaScript.

Proposed Solution: Add the following script to handle the click event:

<script> document.getElementById('openPopup').addEventListener('click', function (e) { e.preventDefault(); // Prevent default anchor behavior window.location.href = 'login.html'; // Redirect to the login page }); </script>

Steps to Reproduce:

Click on the login button.
Observe that the page does not navigate to login.html.
Expected Behavior: The button should redirect the user to the login.html page.

Copy link

Thanks for creating the issue in WildGuard!
Before you start working on your PR, please make sure to:

  • ⭐ Star the repository if you haven't already.
  • Pull the latest changes to avoid any merge conflicts.
  • Attach before & after screenshots in your PR for clarity.
  • Include the issue number in your PR description for better tracking.
    Don't forget to follow @anuragverma108 – Project Maintainer – for more updates!

We're excited to see your contribution as part of Hacktoberfest 2024! 🎉
Happy open-source contributing!

Copy link

Thank you for creating this issue! 🎉 Your issue will soon be reviewed by Project Maintainers. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

@github-actions github-actions bot added hacktoberfest This issue is under Hactoberfest Contribution hacktoberfest-accepted This PR is officially accepted in Hactoberfest 2024 labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest This issue is under Hactoberfest Contribution hacktoberfest-accepted This PR is officially accepted in Hactoberfest 2024
Projects
None yet
Development

No branches or pull requests

1 participant