RyanFitzgerald / devportfolio

A lightweight, customizable single-page personal portfolio website template built with JavaScript and Sass

Home Page:https://ryanfitzgerald.github.io/devportfolio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contact section BUG. Page gets broken when click send with empty email field

dkurganskii opened this issue · comments

Scroll down to Get in Touch section > leave email field empty > type anything in the message field and click send

Actual: page gets broken. Try to scroll down and you see lots of empty space. It gets fixed after you refresh the page

Hey,
I'm not sure about the exact way to fix your issues, but I may have a handy alternative. The way I did it was that I created a Typeform and embedded it. Check this link out.

Once you get the HTML, you can simply delete lines 223 to 230 and replace it with the code Typeform would've given you.

This worked in my case... Hope it helped :D

The contact section is just a placeholder, you can choose to setup Formspree or go with your own solution like Typeform (thanks @JaiRelan!). The error is likely happening because it appears Formspree have updated their API to now require an account and you're given a form ID instead. I'll update the docs around that.