Recently I added a contact form to this website and I want to share how I did it.
When using static site generators we don't have access to a backend so we need a third party service to get the form submissions. So, I built one to achieve it. I built my own because I want control it's privacy and customization.
You can find the contact page's source code in GitHub: https://github.com/berkaycubuk/berkaycubuk.com/blob/main/src/pages/contact.astro
Creating the form HTML
The process is same for all the static site generators. Create a contact page (or just use your index page) and create your form like this:
```html
```
You can customize it's style add new fields etc.. Important part is the `action` attribute of the `