added frontend

This commit is contained in:
2025-06-09 18:36:17 +02:00
parent 4719ebee83
commit f04d7b9d1b
7 changed files with 58 additions and 2 deletions

View File

@@ -8,6 +8,16 @@
<script src="addRecipe.js"></script>
</head>
<body>
<div class="addRecipe">
<label for="title">Recipe title:</label>
<input type="text" id="title">
<label for="recipe">Here you can write your recipe:</label>
<textarea name="recipe" placeholder="You can use markdown!" id="recipe"></textarea>
<button id="saveBtn" onclick="saveRecipe()">Save</button>
</div>
<a href="../index.html"><button>Go back to recipes</button></a>
</body>
</html>