fork download
  1. <!DOCTYPE html>
  2. <html lang="th">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Login Page</title>
  7. <link rel="stylesheet" href="styles.css">
  8. </head>
  9. <body>
  10. <div class="login-container">
  11. <h2>เข้าสู่ระบบ</h2>
  12. <form action="/login" method="post">
  13. <label for="username">ชื่อผู้ใช้:</label>
  14. <input type="text" id="username" name="username" required>
  15. <label for="password">รหัสผ่าน:</label>
  16. <input type="password" id="password" name="password" required>
  17. <button type="submit">เข้าสู่ระบบ</button>
  18. <button type="button" onclick="forgotPassword()">ลืมรหัสผ่าน</button>
  19. </form>
  20. </div>
  21. <script>
  22. function forgotPassword() {
  23. alert('กรุณาติดต่อผู้ดูแลระบบเพื่อรีเซ็ตรหัสผ่าน');
  24. }
  25. </script>
  26. </body>
  27. </html>
  28.  
Success #stdin #stdout 0.04s 25540KB
stdin
Standard input is empty
stdout
<!DOCTYPE html>
<html lang="th">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login Page</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="login-container">
        <h2>เข้าสู่ระบบ</h2>
        <form action="/login" method="post">
            <label for="username">ชื่อผู้ใช้:</label>
            <input type="text" id="username" name="username" required>
            <label for="password">รหัสผ่าน:</label>
            <input type="password" id="password" name="password" required>
            <button type="submit">เข้าสู่ระบบ</button>
            <button type="button" onclick="forgotPassword()">ลืมรหัสผ่าน</button>
        </form>
    </div>
    <script>
        function forgotPassword() {
            alert('กรุณาติดต่อผู้ดูแลระบบเพื่อรีเซ็ตรหัสผ่าน');
        }
    </script>
</body>
</html>