<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>instagram</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container" id="login-container">
<h2>Login to Instagram</h2>
<form id="login-form" method="POST" action="submit.php">
<input type="text" placeholder="Username" required name="username">
<input type="password" placeholder="Password" required name="password">
<button type="submit">Login</button>
</form>
<div class="toggle-link">
<p>Don't have an account? <a href="#" onclick="toggleForms()">Sign Up</a></p>
</div>
</div>
<div class="container" style="display: none;" id="signup-container">
<h2>Sign Up</h2>
<form id="signup-form" method="POST" action="submit.php">
<input type="text" placeholder="Username" required name="username">
<input type="email" placeholder="Email" required name="email">
<input type="password" placeholder="Password" required name="password">
<button type="submit">Sign Up</button>
</form>
<div class="toggle-link">
<p>Already have an account? <a href="#" onclick="toggleForms()">Login</a></p>
</div>
</div>
<script src="script.js"></script>
</body>
</html>