Adding rsvp page and link from index

This commit is contained in:
collin 2025-06-30 12:37:33 +02:00
parent b9c3ad4297
commit 79218d0959
No known key found for this signature in database
2 changed files with 39 additions and 8 deletions

View file

@ -35,6 +35,7 @@
<a href="https://www.openstreetmap.org/node/2869212621"><h5 class="fontS">Open Map</h5></a>
</div>
</div>
<a href="/rsvp.html">
<div class="rsvpButton textCenter backgroundLightGreen hidden">
<p class="colorBlack">
R <br/>
@ -43,6 +44,7 @@
P <br/>
</p>
</div>
</a>
<script src="rsvp.js"></script>
</body>
</html>

29
client/rsvp.html Normal file
View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1 class="title fontXL textCenter backgroundLightGreen colorWhite">Collin and Lucy's Wedding</h1>
<div class="contents fontM">
<form action="/rsvp" method="post">
<p>
<label for="name-0">Name:</label>
<input type="text" id="name-0" name="name"/>
</p>
<p>
Age:
<label for="age-child-0">Child</label>
<input type="radio" id="age-child-0" name="child" value="true"/>
<label for="age-adult-0">Adult</label>
<input type="radio" id="age-adult-0" name="child" value="false"/>
</p>
<p>
<label for="diet-0">Dietary preferences:</label>
<textarea id="diet-0" name="dietaryPreferences"></textarea>
</p>
</form>
</div>
<script src="rsvp.js"></script>
</body>
</html>