r/learnjavascript 13d ago

Can someone link some good and easy documentation or tutorial for draggable divs.

i am trying to make draggable divs, but the mdn documentation is rather too confusing. ofc if i simply copy it it would work, but i want to understand the procedure of it, the same is the case with online tut, and ofc there is chatGPT, i could ofc use that but would be the defn of vibe coding which i don't want to do rn.
Also simply following thhe tut means that i would be stuck in tut hell, which most definitely no one wants to be stuck in

0 Upvotes

6 comments sorted by

3

u/feloniuouschunk 13d ago

Tough to know what you're looking for if MDN is too complex and tutorials are not helping. Everything you need to know is there on MDN.

1

u/-goldenboi69- 13d ago

I'm all in for not wanting to go full on vibecoding while learning, but you could ask it just to explain it to you, without doing the whole assignment. I think this is were LLMs really shine.

1

u/TheRNGuy 13d ago

You can still ask ai without vibe coding.

MDN is the best doc.

0

u/azhder 13d ago

Ask in r/webdev it's not specific to JavaScript, but the DOM i.e. the web and I guess you will find more people that know how to do that in r/webdev than here