Start on guestbook

This commit is contained in:
Evan G. 2024-04-20 10:21:45 -05:00
parent b7771c92c9
commit 3753b2977f
Signed by: fbievan
GPG Key ID: 55FAB8CB6842F080
3 changed files with 20 additions and 1 deletions

17
guestbook/index.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My Cool Guestbook!</title>
<link rel="stylesheet" href="../readable.css"</link>
</head>
<body>
This is a guestbook, made by fbievan
<form action="./sumbit.php" method="post">
<input type="text" name="fname" placeholder="name"></input>
<input type="text" name="fmessage" placeholder="Message"></input>
<input type="submit"></input>
</form>
</body>
</html>

2
guestbook/submit.php Normal file
View File

@ -0,0 +1,2 @@
<?php
echo "Hello World";

View File

@ -9,7 +9,7 @@
<nav> <nav>
<a href="./index.html">Home</a> <a href="./index.html">Home</a>
<a href="./posts.html">Posts</a> <a href="./posts.html">Posts</a>
<a href="./guestbook.html">Guestbook</a> <a href="./guestbook/index.html">Guestbook</a>
</nav> </nav>
<body> <body>
<h1>Fbi's Epic Blog</h1> <h1>Fbi's Epic Blog</h1>