Update index.php
This commit is contained in:
parent
f71845561d
commit
e5294aa4c5
1 changed files with 34 additions and 11 deletions
45
index.php
45
index.php
|
@ -1,15 +1,38 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>furpSocial</title>
|
||||
<meta charset="UTF-8">
|
||||
<style>
|
||||
:root {
|
||||
--accent: #32a852;
|
||||
}
|
||||
|
||||
<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>
|
||||
body {
|
||||
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
||||
background: var(--accent);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Welcome <?php echo $_POST["name"]; ?><br>
|
||||
Your email address is: <?php echo $_POST["email"]; ?>
|
||||
<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;">
|
||||
<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>
|
Reference in a new issue