Is JavaScript usable as a standalone language? | Sololearn: Learn to code for FREE!


Is JavaScript usable as a standalone language?

Pardon me if this is a somewhat naive or uninformed question, but I'm pretty much a noob when it comes to web dev and all that comes along with it. From what I know, JavaScript is typically used in conjunction with HTML and CSS to create dynamic and interactive web pages. Other than that, I've read that it also has libraries and frameworks that support a myriad of other applications such as IoT and etc, so my question is, besides it's use in website development, can I use JavaScript only without HTML?

7/26/2017 9:53:58 PM


2 Answers

New Answer


I think it can be. But its syntac is so interwined with HTML and CSS. for example: document.getElementBy(...)("...").innerHTML="..."; note it says HTML! So yeah, good luck in trying


Node.js is typically used for servers, but it is essentially a JS interpreter in the console. Check it out!