+ 2
I need help with a HTML and Javascript click and drag function
When I try to move the 12 to the 3de div the 11 takes its place. Why is it doing that https://code.sololearn.com/W6orzoPl1w2s/?ref=app
3 Answers
+ 3
All your div ids are similar. Have you tried setting 11 and 12 with distinct ids so that your program actually recognises them as different divs? If you are planning to do so, it would be a good idea to use classes instead of id for your CSS styling.
+ 1
Thank you. It works now
0
Hi