The code used for index.php is below:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../styles.css">
<title>HTML | Forms </title>
</head>
<body>
<h1>HTML | Forms</h1>
<h2>Login Form</h2>
<form action="index.php" method="post">
<label for="email">Email
<input type="email" name="email" id="email" placeholder="Email Address">
</label><br>
<label for="password">Password
<input type="password" name="password" id="password" placeholder="password">
</label><br>
<input type="submit" value="Login">
</form>
<br><hr><br>
<h2>Contact Form</h2>
<form action="index.php" method="post">
<label for="name">Name
<input type="text" name="text" id="text" placeholder="Name">
</label><br>
<label for="phone">Phone
<input type="tel" name="phone" id="phone" placeholder="Phone Number">
</label><br>
<label for="message">Phone
<textarea type="tel" name="phone" id="phone" placeholder="Message" rows="6"></textarea>
</label><br>
<input type="submit" value="Submit">
</form>
<?php
include('../show_code.php');
show_code('index.php');
?>
</body>
</html>