+ 10

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?

26th Jul 2017, 9:53 PM
Garikai
Garikai - avatar
2 Respuestas
+ 4
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
15th Aug 2017, 4:54 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
Node.js is typically used for servers, but it is essentially a JS interpreter in the console. Check it out!
23rd Jan 2018, 2:05 PM
Lil Taco
Lil Taco - avatar