Send a form to the server

Your task In send(), before setSent(true), post the recipe: await fetch("/api/recipes", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ name: name, time: Number(minutes) }) });

Getting the editor ready