Form is one of the oldest trick to allow you to submit data to the server.
You don't need JavaScript to submit a form!
We are going to cover the topic about forms in 3 separate videos. In this video, we are going to learn what you can do with a the HTML form element alone, without using JavaScript and SvelteKit.
00:00 Introduction 01:02 Defining endpoints 08:31 Form submission to REST API 11:37 Allowed methodOverrides 16:35 Modify methodOverrides parameter 18:25 Form submission with Page Endpoints 29:10 Summary
---
👉 Form Part 1 https://youtu.be/gpiXjjOZDnw 👉 Endpoints https://youtu.be/FSCUj7DgfUE 👉 Endpoints Examples https://youtu.be/rHckl5bZtpE 👉 Page Endpoints https://youtu.be/yQRf2wmTu5w
🎧
SvelteKit Tutorial For Beginners https://www.youtube.com/playlist?list=PLoKaNN3BjQX0Ch8C6XHjG4K1Q75ugf6yG 🎧 Svelte Tutorial for Beginners https://www.youtube.com/playlist?list=PLoKaNN3BjQX3mxDEVG3oGJx2ByXnue_gR
📚 SvelteKit https://kit.svelte.dev 📚 Svelte https://svelte.dev
🥰 Support me https://www.buymeacoffee.com/lihautan
đź”—
Want to learn more from me? Check out these links:
Twitter: https://twitter.com/lihautan Blog: https://lihautan.com/ Newsletter: https://lihautan.com/newsletter Discord: https://discord.gg/RbtgYvExVJ
VS Code Theme: Dracula at night https://marketplace.visualstudio.com/items?itemName=bceskavich.theme-dracula-at-night ZSH Theme: bullet-train https://github.com/caiogondim/bullet-train.zsh
#sveltekit #svelte #sveltekitbeginner #sveltekittutorial
Thanks for watching 🥰 -- with love, Li Hau