Sitemap

Dating Request using Java Script

2 min readJan 24, 2024

--

Have you noticed the adorable trend taking over Instagram Reels and YouTube Shorts? People are using creative videos to ask their loved ones out on dates, with a playful twist: the “un-rejectable” request!

Press enter or click to view image in full size

It’s a lighthearted and innovative way to express your feelings while adding a touch of playful pressure. So, are you ready to join the trend and sweep your loved one off their feet with an “un-rejectable” date request?

Get started:

  1. Your main aim is to move the Reject button when hover on it with simple mouse actions you can do this.
  2. Create an simple html page which should have 2 buttons “yes” and “no”.
  3. Create a JS file and like to the html in <script> tag.
  4. From the Js file you should change the position of the No button with innerHeight and innerWidth properties do this changes in “mouseover” event listener.
buttonNo.style.top = Math.random()* window.innerHeight + "px"
buttonNo.style.left = Math.random() * window.innerWidth +"px"

Then your all set.. You can ask your loved once for a date 🥳

Get Kanthi Kiran Damarla’s stories in your inbox

Join Medium for free to get updates from this writer.

Here is the repo for the code.

The true magic lies in the sincerity and effort you put into the relation.

Advance Happy valentine’s day to all the dreamers and romantics who believe in the magic of love 💕

--

--