Hello Free Code Camp,
Working to create a Contact form for the web site.
There are several sites that have directions for
creating a contact page using HTM: CSS and Javascript.
w3schools
geeksforgeeks
(Tried putting in links to the instructions but the web site forbad me.)
How do they send the info from the user. Where is it
going? It was thought that the Javascript would
send an email. But I cannot find a place
to input an email.
Thanks.
Allen
Hi Allen,
What website are you building? Is it one for a course you are taking in FCC or is it personal? Where are you hosting it?
Websites by default don’t collect information from a user. Websites are held on a server and are referenced on a domain name server. So when the user’s browser looks up the domain it get’s or fetches the websites resources.
When collecting information from a user the common practice is to hold this on a seperate server. The user will post their information to the agreed server and your website will be communicating with this server to retrieve it.
There are plenty of resources on youtube going over how to “spin up” an express server, which is probably the quickest and easiest system to get up and running. FCC also has some great full stack content (doing frontend and backend is known as fullstack)
If anyone else has any further information or would like to correct me, go right ahead.
1 Like
Hello free Code,
The website is hosted by Host gator at
adalllc dot net
A simple contact form with name , email address and message is sought.
A contact form has been begun at
123FormBuilder
I tried to add a link to the form but the message system forbids it.
I was able to add a print screen of the form.
I try to add a text field from the Fields options on the left but it does not appear in the work area on the right.
If I can get the form to build where does the info go when the user clicks Submit Form?
Thanks.
Allen Pitts