Initial app and server setup

This commit is contained in:
2025-01-01 11:17:09 +01:00
parent 0a1467fb14
commit 8244916c8f
4 changed files with 148 additions and 37 deletions
+60
View File
@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Datefinder</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
}
.calendar {
display: grid;
grid-template-columns: repeat(7, 1fr);
/* 7 columns for 7 days */
gap: 10px;
margin: 20px auto;
width: 90%;
}
.day-column {
border: 1px solid #ccc;
background-color: #f9f9f9;
padding: 5px;
}
.day-header {
font-weight: bold;
margin-bottom: 5px;
}
.hour-block {
border: 1px solid #ddd;
padding: 10px;
margin: 2px 0;
cursor: pointer;
background-color: #fff;
text-align: center;
}
.hour-block.clicked {
background-color: #87CEEB;
/* Change color when clicked */
}
</style>
</head>
<body>
<h1>Datefinder</h1>
<div class="calendar" id="calendar"></div>
<div>
<input id="submit-name" type="text" placeholder="Enter your name" />
<button id="submit-btn" type="submit" onclick="submit">Submit</button>
</div>
<script src="index.js"></script>
</body>
</html>