© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
26 replies
gamer50082

✅ need someone to fix a html for me

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Login</title>
  </head>
  <body>
    <h1>Login</h1>
    <form action="http://144.24.154.156:5445/login" method="POST">
      <label for="username">Username:</label>
      <input type="text" id="username" name="username" required><br><br>
      <label for="password">Password:</label>
      <input type="password" id="password" name="password" required><br><br>
      <button type="submit">Login</button>
    </form>

    <h1>Register</h1>
    <form action="http://144.24.154.156:5445/register" method="POST">
      <label for="username">Username:</label>
      <input type="text" id="username" name="username" required><br><br>
      <label for="password">Password:</label>
      <input type="password" id="password" name="password" required><br><br>
      <label for="confirm-password">Confirm Password:</label>
      <input type="password" id="confirm-password" name="confirm-password" required><br><br>
      <button type="submit">Register</button>
    </form>

    <script>
      // Parse the query string to get the token parameter
      const queryString = window.location.search;
      const urlParams = new URLSearchParams(queryString);
      const token = urlParams.get('token');

      // If a token was received, display it
      if (token) {
        const tokenElement = document.createElement('p');
        tokenElement.textContent = `Your token is: ${token}`;
        document.body.appendChild(tokenElement);
      }
    </script>
  </body>
</html>
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Login</title>
  </head>
  <body>
    <h1>Login</h1>
    <form action="http://144.24.154.156:5445/login" method="POST">
      <label for="username">Username:</label>
      <input type="text" id="username" name="username" required><br><br>
      <label for="password">Password:</label>
      <input type="password" id="password" name="password" required><br><br>
      <button type="submit">Login</button>
    </form>

    <h1>Register</h1>
    <form action="http://144.24.154.156:5445/register" method="POST">
      <label for="username">Username:</label>
      <input type="text" id="username" name="username" required><br><br>
      <label for="password">Password:</label>
      <input type="password" id="password" name="password" required><br><br>
      <label for="confirm-password">Confirm Password:</label>
      <input type="password" id="confirm-password" name="confirm-password" required><br><br>
      <button type="submit">Register</button>
    </form>

    <script>
      // Parse the query string to get the token parameter
      const queryString = window.location.search;
      const urlParams = new URLSearchParams(queryString);
      const token = urlParams.get('token');

      // If a token was received, display it
      if (token) {
        const tokenElement = document.createElement('p');
        tokenElement.textContent = `Your token is: ${token}`;
        document.body.appendChild(tokenElement);
      }
    </script>
  </body>
</html>
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ 4 compiler errors..I need someone to help me fix this
C#CC# / help
6mo ago
I need someone to help fix my code
C#CC# / help
6mo ago
✅ Need someone that can make a gui for me without code
C#CC# / help
2y ago
✅ hey, can someone please fix this for me? it keeps giving me errors
C#CC# / help
2y ago