This is a gimmick webpage that features a jumpscare effect triggered by a button click. The project is a refactored version of an earlier project I made when I didn't have much experience in writing code, now implemented using React.
You can take a look and share the webpage with your friends through this link:
https://reemans.github.io/heartstopper/
To get a local copy of this project up and running, follow these steps:
- Clone the repository:
git clone https://github.com/ReemanS/heartstopper.git
- Navigate to the project directory:
cd heartstopper
- Install the dependencies:
npm install
- Start the development server:
npm run dev
and navigate to your localhost server
Note: This project uses Vite as the development environment, which provides fast development server and build setup. Make sure you have Node.js and npm installed on your machine.
The jumpscare effect is triggered by clicking the "Start the Experience" button. When clicked, a sound will play, and an image will appear instantly. The image and sound assets can be customized by replacing the respective files in the assets
folder.
Feel free to modify and customize the code to suit your requirements 😈