A Nice & Simple Contact Form

By CSS-Tricks

There are a million contact form examples on the web, why this one? Because it's SIMPLE, it's FREE, it WORKS, it's VALID, and it's primarily styled with CSS.

If you are trying to contact CSS-Tricks, DO NOT USE THIS FORM. This is just an example, my real contact form is here.

Download this example

is_valid) { echo "You got it!"; # in a real application, you should send an email, create an account, etc } else { # set the error code so that we can display it. You could also use # die ("reCAPTCHA failed"), but using the error message is # more user friendly $error = $resp->error; } } echo recaptcha_get_html($publickey, $error); ?>