Files
Cookbook/frontend/addRecipe/addRecipe.html
2025-06-09 18:36:17 +02:00

23 lines
716 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Add recipe</title>
<link rel="stylesheet" href="addRecipe.css">
<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>