Submit templates for repl.it/templates here.

← Back to all posts
A Legit Awesome Contact From
codingjlu (482)

Personal Contact Form Template

So I made this awesome contact form template with Node.js for your personal contact page!

Features:

  • Contact form
  • Beautiful CSS
  • Admin panel with secure login:
    • Your own password (duh) - the password for the demo is LamePassword
    • View submissions
    • Delete submissions
  • AJAX form submission
  • Only library is jQuery
  • Classy HTML (no IDs, just classes and the such)
  • Responsive
  • Well commented code for easy read and customization (except for admin pages)
  • Pretty code
  • Prefixed CSS (works with more browsers)
  • Awesome UX
  • Super professional
  • Super secure
  • Super pog

Getting started

You can test this project by submitting forms and logging in to the admin to view them (please delete submissions after you're done).
To use it, fork this project and go to config.js and change all the info according to the comments, and you're all set to go!!

TODO/Coming soon:

  • Read/unread submissions
  • Themes
  • Send user email when they fill the out the contact form
  • Get an email notification when someone contacts you

Tips

  • Hover over a submission to see the time it was submitted (in your timezone)
  • The entries on the top of the table are the latest

Random notes

  • The largest file is /public/contact.css (423 lines)

Bugs/Suggestions/Whatever

GitHub repo here.

LICENSE

MIT:

Copyright 2021 codingjlu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You don't have to attribute me, but I'd appreciate if you do.