Posts

Showing posts from April, 2020

Simple way to add Contact Forms on static websites (like Github pages)

Image
So lets say you've got yourself a static portfolio website (maybe on Github pages). Won't it be nice if you can add a nice "Contact me" form so that people can connect with you easier? But hey, "Github pages doesn't have any server side code or database so how am I gonna get form submissions", you ask.  Well, there's a really simple trick which I will be explaining here. The idea is to use Google forms but within the website (without any redirects). This will work on any static website, not only Github pages. So, let's get started. The first step is to make a simple HTML form Next step is to make a Google form with the SAME fields   Now, we need to know what google calls these fields. So make a pre-filled form, fill it with anything and grab the link.   Fill in any values and click on "Get pre-filled link" The copied link will look like this Now we need to use the entry fields from the pre-filled link into our html form. Using this, we