A minimal landing page built with pure HTML, CSS, and a small JavaScript file that demonstrates two common website features:
- A button that redirects to another website
- A contact form that sends emails using Web3Forms
The project is designed to be easily deployed as a static site on platforms like Vercel or GitHub Pages.
https://landing-web3forms.vercel.app/
- Clean minimal landing page
- Redirect button to any external website
- Contact form sending emails
- Powered by Web3Forms
- No backend required
- Simple static deployment
project/
│
├── index.html
├── styles.css
├── script.js
├── thanks.html
└── README.md
The contact form sends data to the Web3Forms API.
Workflow:
- User fills the contact form
- The form is submitted to Web3Forms
- Web3Forms sends the email to the configured inbox
- The user is redirected to
thanks.html
Open script.js and replace the key in the configuration object:
const CONFIG = {
WEB3FORMS_KEY: "YOUR_ACCESS_KEY",
TARGET_URL: "https://example.com",
REDIRECT_URL: "/thanks.html"
};Update the destination URL inside script.js:
TARGET_URL
This is the website users will be redirected to when clicking the Go to Website button.
After a successful form submission, users are redirected to:
thanks.html
You can change this path inside the CONFIG object.
- Push the project to GitHub
- Go to Vercel
- Click New Project
- Import the repository
- Deploy
Since the project is a static website, no special configuration is required.
- The Web3Forms access key is public by design and can safely be used in frontend projects.
- No backend or serverless functions are required.
- The project can be easily customized for client landing pages.
Free to use and modify.