DEV Community

Discussion on: JavaScript and manipulating the DOM

 
alephnaught2tog profile image
Max Cerrina

I have gotten a ton of mileage out of seeing things on posts or on sites or just mentioned and going "I wonder if I can do that." Even if it's a huge fail -- you can learn a ton by trying. I know I also learned a ton reinventing a billion wheels. So sort of -- how to do things super manually. How to copy an entire HTML element "by hand" with JS -- don't use any packages or helpers, just builtin browser APIs. How can you use JS to get that element, all in contents and everything, to another spot in the page? that kind of thing.

Thread Thread
 
nicostar26 profile image
Nicole Saunders ๐Ÿ’ป๐ŸŒน

I didn't even know it was possible to recreate just in JavaScript. It's definitely a powerful language. Thanks!

Thread Thread
 
johnkazer profile image
John Kazer

You can do so many different things with the same code: desktop app, chat bot, website, Excel addin, web API... Such a wonderful gain in efficiency, collaboration and knowledge sharing that any inefficiencies of the actual code are really insignificant in comparison.

Thread Thread
 
bgadrian profile image
Adrian B.G.

I actually try to keep an up-to-date list of what you can do with JS, and is challenging :))