Hi you can add an attribute to your button like: type="submit" but even if you add this nothing will happen when you submit the form because there is no backend logic to process form submissions as this is a front end course.
You could use the below service which is free to sign up, this will handle form submissions without needing to set up server side code. Then you can set up your form like:
Hi lucidlear,
thanks for your reply much appreciated
I have updated the html code as below using Formspree link which seemed to work once only. However now I keep getting an error code in the console as below:
**Form Blocked**
**Form has been blocked due to suspected fraudulent activity**
Do you know what is causing this message, and is this something I can avoid by amending the code. Thanks again.
Hi its likely because you are submitting a password field to form spree. That doesn’t really make sense right because the service is not designed for authentication purposes, it doesn’t have a database that is checking users etc so thats why its blocking you.
I believe its really only designed to submit simple forms with just text and email fields so then you can see that information from the submitted forms in your dashboard. So you can try removing the password field and just submit a text and email field, however bear in mind that form submission is a backend service and is outside the scope of HTML/CSS