HTML Diff
0 added 0 removed
Original 2026-01-01
Modified 2026-02-21
1 <p>Today’s websites are highly interactive. Pages rarely reload, so we can change their content instantly.</p>
1 <p>Today’s websites are highly interactive. Pages rarely reload, so we can change their content instantly.</p>
2 <p>Software solutions have become so complex. Now we can open a browser and use programs like Photoshop, packages similar to Microsoft Office, or full-blown development environments such as our Hexlet editor.</p>
2 <p>Software solutions have become so complex. Now we can open a browser and use programs like Photoshop, packages similar to Microsoft Office, or full-blown development environments such as our Hexlet editor.</p>
3 <p>Browser games are an enormous industry too. These games are no worse than regular desktop ones, thanks to hardware support.</p>
3 <p>Browser games are an enormous industry too. These games are no worse than regular desktop ones, thanks to hardware support.</p>
4 <p>None of this would be possible without JavaScript.</p>
4 <p>None of this would be possible without JavaScript.</p>
5 <p>JavaScript, which was originally used to add snowflakes to a web page, has become a powerful tool for professionals. To date, JavaScript is the only language that browsers can execute.</p>
5 <p>JavaScript, which was originally used to add snowflakes to a web page, has become a powerful tool for professionals. To date, JavaScript is the only language that browsers can execute.</p>
6 <p>But a language is not enough to bring a page to life. The browser should provide a way to manage both the pages and the browser itself. Most of these features are standardized and described in the HTML5 specifications. Some of them are:</p>
6 <p>But a language is not enough to bring a page to life. The browser should provide a way to manage both the pages and the browser itself. Most of these features are standardized and described in the HTML5 specifications. Some of them are:</p>
7 <ul><li>Manipulating page content</li>
7 <ul><li>Manipulating page content</li>
8 <li>Managing appearance</li>
8 <li>Managing appearance</li>
9 <li>Responding to user actions</li>
9 <li>Responding to user actions</li>
10 <li>Working with cookies</li>
10 <li>Working with cookies</li>
11 <li>Controlling the browser's address bar, navigation, history</li>
11 <li>Controlling the browser's address bar, navigation, history</li>
12 <li>Interacting with the server</li>
12 <li>Interacting with the server</li>
13 <li>Video playback</li>
13 <li>Video playback</li>
14 <li>Input/Output</li>
14 <li>Input/Output</li>
15 <li>Interacting with file systems and networks</li>
15 <li>Interacting with file systems and networks</li>
16 <li>2D/3D drawing</li>
16 <li>2D/3D drawing</li>
17 </ul><p>From the language’s point of view, most of these features look like global objects that you can interact with within the program. The most basic and important object in this system is the<strong>DOM tree</strong>.</p>
17 </ul><p>From the language’s point of view, most of these features look like global objects that you can interact with within the program. The most basic and important object in this system is the<strong>DOM tree</strong>.</p>
18 <p>In this course, we’ll learn how to implement JavaScript on a website, go through the fundamental ways to modify a page, get acquainted with polyfills, make our first Ajax request, and discover the world of events.</p>
18 <p>In this course, we’ll learn how to implement JavaScript on a website, go through the fundamental ways to modify a page, get acquainted with polyfills, make our first Ajax request, and discover the world of events.</p>
19 <p>After this course, you’ll try your hand at creating simple front-end games.</p>
19 <p>After this course, you’ll try your hand at creating simple front-end games.</p>
20 <h2>How to prepare for the course</h2>
20 <h2>How to prepare for the course</h2>
21 <p>This course is about animating pages in browsers using JavaScript. This course assumes that you’ve already studied JavaScript, either in Hexlet or on any other platform.</p>
21 <p>This course is about animating pages in browsers using JavaScript. This course assumes that you’ve already studied JavaScript, either in Hexlet or on any other platform.</p>