Hi! I want to create a website that will contain a diagram maker. Which is the best programming language to code it? I am new to coding. I want it to be a smooth drag-and-drop tool.
Thanks!
Hi @aloeeveraa,
If you're wanting to create a drag and drop tool for the web, the language that you would be looking for is JavaScript.
I would spend some time getting to understand the basics of JavaScript before jumping straight into drag and drop functionality, because drag and drop can be confusing if you're not familiar with the language itself.
Depending on the needs of your project, you could also do some research on the HTML canvas element and the corresponding JavaScript apis associated with that.
Another alternative is to get familiar with a library such as D3.js for creating such tools. For example, I created this drag and drop project with D3 a few years back... https://github.com/BrandonClapp/process-editor
Hope this helps. Best of luck!
Great answer, very helpful. I will focus on javascript then. Thanks!