+ 3
How can i write a code for JavaScript?
I want to write a code for JavaScript but it does not have an option for it. It say Node js but not JavaScript itself. Is node js the same as JavaScript.
14 Réponses
+ 1
Here that is called „web“, where you can write in JavaScript.
https://code.sololearn.com/WrUrOWZT4gtQ/?ref=app
+ 3
Yaroslav Vernigora
Thank you so much. Your information really helped.
+ 2
JaScript
Thank you so much.
+ 1
@JaScript
When i used the link you gave me, I wrote a code and saved it as my name. But later now when I run the code it says created by JaScript. So what can I do now.
+ 1
Halima Vohra no problem this happend automatically by SL.
You can cancel it and use as long as you want. Happy coding!
+ 1
@JaScript
Thank You. But where did you get this platform. Like it says your name so where did you get it from.
+ 1
Halima Vohra I mean it is Sololearn (SL) feature. You can test it that you take another code from anybody here and save it under your account. Then after you will see his name in this code.
0
Hi! Node or Node.js is a software platform based on the V8 engine (which translates JavaScript into machine code), which turns JavaScript from a highly specialized language into a general-purpose language. Node.js adds the ability for JavaScript to interact with I / O devices through its API written in C++, to connect other external libraries written in different languages, providing calls to them from JavaScript code. Node.js is used primarily on the server, acting as a web server, but it is possible to develop on Node.js and desktop window applications (using NW.js, AppJS or Electron for Linux, Windows and macOS) and even program microcontrollers (for example, tessel, low.js and espruino). At the heart of Node.js is event-oriented and asynchronous (or reactive) programming with non-blocking I/O.
0
for what purposes do you need to write code? for the frontend or backend?
0
what is frontend and backend
0
so where can i write my code for javascript
0
Frontend — anything that the browser can read, display, and / or run. That is, it is HTML, CSS, and JavaScript.
HTML (Hypertext Markup Language) tells the browser what the content of the page is, for example, "title", "paragraph", "list", "list item".
CSS (Cascading Style Sheets) tells the browser how to display elements, for example, "after the first paragraph, an indent of 20 pixels" or "all text in the body element should be dark gray and written in the font Verdana".
JavaScript tells the browser how to respond to certain interactions using a lightweight programming language. Most sites don't actually use a lot of JavaScript code, but if you click on something and the page content changes without the screen flashing white, it means that JavaScript was used somewhere.
0
Backend — anything that runs on a server, i.e. "not in a browser" or "on a computer connected to a network (usually the Internet) that responds to messages from other computers".
For the backend, you can use any tools available on your server (which is essentially just a computer configured to respond to messages). This means that you can use any universal programming language: Ruby, PHP, Python, Java, JavaScript / Node, bash. This also means that you can use database management systems such as MySQL, PostgreSQL, MongoDB, Cassandra, Redis, Memcached.
0
therefore, for the frontend, you can encode by selecting the language " Web " and switch to the "js" tab in the window. this will be the code for the frontend. for the backend, choose "Node.js"