First Step is to create a Github account if you don't already have one.
Now, you should create a new GitHub repository and add your
htmlcode to your repo.
Follow the code to initialise and add your code files to your repo.
git add index.html
git commit -m "first commit"
git branch -M main
git remote add origin your_origin_url
git push -u origin main
On your github repository, you can see a tab called Settings, just click on the tab.
On your settings page, you can see a tab called Pages on the left. Just click on tab.
Here, you can should set your branch as
mainand click on Save button. You're good to go!
Congrats, You're app is now deployed on github. Your hosting url will be username.github.io/repo You can now visit it! It will work absolutely fine. Well done! 👏
Now, here comes the final part! It is time to test. Head over to the app, and submit the form. Open your mail, you can see a new one. It will look like this 👇