Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSeth Warner
1,878 PointsCan you add a php contact form to a Github pages portfolio? If not what do you use?
I know PhP, yet I was under the impression you could only use Github pages with Frontend technologies. I'm guess you just add the PhP script directly in the html in order to surpass this rule? My goal here is to make a basic contact form for my portfolio, and have some sort of validation, and authentication features as well.
3 Answers
Kevin Korte
28,149 PointsNo, that doesn't work. There is no PHP parser for Github pages. It will either error, or not load, which is kinda the same thing...
It's strictly HTML, CSS, and JS only, no server side stuff available.
But there are some services to help you out, free and premimum. Formspress is one of them, Formkeep is another I know of.
I'm sure there are others, so shop around. Give on a shot, they will allow you to add a form to your Github pages website.
Seth Warner
1,878 PointsKevin Korte !!!! Hope all is well in the slack chat. And I thought something would go wrong. Ill check out the links you mentioned above, much appreciated!
- Seth
Kevin Korte
28,149 PointsHi Seth! I didn't even read the name. Yep all is well, come back some time. You know where to find me if you need more help
kagit shaman
Courses Plus Student 84 PointsThere's a free solution: https://getform.org