Sandeep Parmar’s Post

View profile for Sandeep Parmar, graphic

Full Stack Developer | JS | TS | MERN Developer | DB - MongoDB, CONVEX, FIREBASE (Realtime and Cloud Store), SUPABASE (SSR, Realtime) | Auth - CLERK, SUPABASE,FIREBASE | AWS | Responsive | ORM - DRIZZLE, MONGOOSE

Hello Dosto💜 , This post is about JS Practice Problems - 2. This Concept is Used in Many Websites Nowadays so Let's Have a Look at it. Ques - To Move a Rectangle with Mouse Movement in X-Axis and its Speed Decreases as it Moves Away from Center , also it Do Not Touches the Borders and Stops 100px Behind. Used Concepts Were : 1. DOM Manipulation : Add Event Listener -To Listen the Mouse Movement Event. 2. GSAP Lib - Map Range Function and also to get the Details about the Location of the Mouse. Check it Out Here :

Document

Document

itz-sandeep-parmar.github.io

To view or add a comment, sign in

Explore topics