Skip to content

Commit

Permalink
rough.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Akash-Gupta-git authored Aug 17, 2024
1 parent dd50cdd commit d131147
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions rough.html
Original file line number Diff line number Diff line change
Expand Up @@ -434,17 +434,29 @@ <h1 class="head">The movie Netflix</h1> <p class="para"> Netflix is one of the w

<script>
let ms = document.querySelector("#mouse")

var timeOut;
ms.style.display = "none";
let wind = window.document.addEventListener("mousemove", (myfunction) => {
let x = myfunction.pageX;
let y = myfunction.pageY;
ms.style.top = y + "px";
ms.style.left = x + "px";
ms.style.display = "block";


function mouseStopped() {
ms.style.display = "none";
} timeOut = setTimeout(mouseStopped, 1000);



});

document.addEventListener("mouseout",() => {
ms.style.display = "none";
});


let TextHead = document.querySelector("#bigImgText")
let head = document.querySelector(".head")
let para = document.querySelector(".para")
Expand All @@ -459,4 +471,4 @@ <h1 class="head">The movie Netflix</h1> <p class="para"> Netflix is one of the w


</script>
</html>
</html>

0 comments on commit d131147

Please sign in to comment.