Update index.php

This commit is contained in:
awesomeuser 2023-08-01 18:57:14 +00:00
parent f71845561d
commit e5294aa4c5

View file

@ -1,15 +1,38 @@
<!DOCTYPE HTML> <!DOCTYPE html>
<html> <html lang="en">
<body> <head>
<title>furpSocial</title>
<meta charset="UTF-8">
<style>
:root {
--accent: #32a852;
}
<form action="index.php" method="post"> body {
Name: <input type="text" name="name"><br> font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
E-mail: <input type="text" name="email"><br> background: var(--accent);
<input type="submit"> margin: 0;
</form> padding: 0;
}
</style>
</head>
<body>
Welcome <?php echo $_POST["name"]; ?><br> <div style="width: 100%; max-width: 600px; background: white; height: 100vh; margin: auto; padding: 10px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;">
Your email address is: <?php echo $_POST["email"]; ?> <h1 style="margin: 0; font-size: 20px;"><span style="color: var(--accent);">furp</span>social</h1>
</body> <hr>
<br><br>
<form action="index.php" method="post">
Name: <input type="text" name="name"><br>
E-mail: <input type="text" name="email"><br>
<input type="submit">
</form>
Welcome <?php echo $_POST["name"]; ?><br>
Your email address is: <?php echo $_POST["email"]; ?>
</div>
</body>
</html> </html>