I am trying to learn some basic concepts of JS.
I want to start by moving a box which is inside a box.
Here is the jsFiddle ...

https://jsfiddle.net/FarrisFahad/a1Lqchj8/1/

I want to move the mouse on mousedown, mousemove, and mouseup

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.