<script> $(document).ready(() => { $('#new-recipe').submit((event) => { event.preventDefault(); }) }) </script>