Dev from EU, currently working in frontend development, with knowledge of docker and kubernetes.
I love tinkering and staying up with the latest technology.
JavaScript on websites is used everywhere where you need some kind of interactivity.
You want to show an Alert when you press a button? Use JS.
You want to change the title of the page when a user clicks on some text? Use JS.
JavaScripts main use is in websites, but with Node.js, you can also use for backend or just as an utility.
If you want to learn how to use JS, but don't want to build a website or a webapp, I'd sugest you install Node.js and write a small program that can be run with it. Start with writing a HelloWorld app that just prints something to the command line when run.
But sooner or later you will want to use some library, then you have to learn how to use NPM to get that library and how to use it in your application.
If you don't want to install Node.js, you could use an online JavaScript compiler. Write some code, run it! Its that simple.
If you want to see how TypeScript gets transformed to JavaScript, you could use this tool.
Hope this helps!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
JavaScript on websites is used everywhere where you need some kind of interactivity.
You want to show an Alert when you press a button? Use JS.
You want to change the title of the page when a user clicks on some text? Use JS.
JavaScripts main use is in websites, but with Node.js, you can also use for backend or just as an utility.
If you want to learn how to use JS, but don't want to build a website or a webapp, I'd sugest you install Node.js and write a small program that can be run with it. Start with writing a HelloWorld app that just prints something to the command line when run.
But sooner or later you will want to use some library, then you have to learn how to use NPM to get that library and how to use it in your application.
If you don't want to install Node.js, you could use an online JavaScript compiler. Write some code, run it! Its that simple.
If you want to see how TypeScript gets transformed to JavaScript, you could use this tool.
Hope this helps!