Fixed Folders

This commit is contained in:
Dan Hamik 2024-02-27 23:44:54 -06:00
parent b4beb3df46
commit 4a6f2f803b
2 changed files with 37 additions and 0 deletions

22
templates/form.html Normal file
View File

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Web Form</title>
</head>
<body>
<h2>Enter your information:</h2>
<form method="post">
<label for="name">Name:</label><br>
<input type="text" id="name" name="name" required><br>
<label for="phone">Phone Number:</label><br>
<input type="tel" id="phone" name="phone" pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}" placeholder="123-456-7890" required><br>
<label for="address">Address:</label><br>
<input type="text" id="address" name="address" required><br>
<label for="comments">Comments:</label><br>
<textarea id="comments" name="comments" rows="4" cols="50"></textarea><br><br>
<input type="submit" value="Submit">
</form>
</body>
</html>

15
templates/greet.html Normal file
View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Greeting</title>
</head>
<body>
<h2>Hello, {{ name }}!</h2>
<p>Your phone number is: {{ phone }}</p>
<p>Your address is: {{ address }}</p>
<p>Comments:</p>
<p>{{ comments }}</p>
</body>
</html>