This commit is contained in:
Ilya Kantor 2020-11-21 20:38:22 +03:00
parent db4a880974
commit 06cdd5b84a
23 changed files with 110 additions and 775 deletions

View file

@ -7,7 +7,7 @@ For example, this HTML-page shows the "Hello" message:
```html run
<!doctype html>
<script>
alert("Hello!");
alert("Hello, world!");
</script>
```
@ -19,15 +19,16 @@ We can also run scripts using [Node.js](https://nodejs.org), it's commonly used
Depending on the environment, JavaScript may provide platform-specific functionality.
- In a web browser, JavaScript can manipulate the web-page, send network requests, show messages and so on.
- Node.js allows to run a web-server.
- In a web browser, JavaScript can manipulate the web-page, send network requests, show messages and so on.
- In node.js we can use JavaScript to run a web-server, read and write arbitrary files.
- ...And so on.
...And so on. Even a coffee machine may include its own JavaScript engine, that could allow us to program its recipes.
Technically, even a coffee machine can include its own JavaScript engine, to allow programming of coffee recipes.
![](javascript-engine.svg)
In this tutorial we concentrate on the "core JavaScript", that's the same everywhere.**
**In this tutorial we concentrate on the "core JavaScript", that's the same everywhere.**
After you learn it, you can go in any direction: learn browser functionality, how to write servers and so on.
We'll try to keep browser-specific notes at minimum. After you learn the core, you can go in any direction: browsers, frameworks, servers and so on.
Please turn the page to start learning JavaScript!
Turn the page to start learning JavaScript!