Variables and constants

Variables are used to store data in a program . Variables are designed to store some temporary data ...

Browser console and console.log

An indispensable tool when working with JavaScript is the browser console, which allows you to debug...

Connecting an External JavaScript File

In the last article, the JavaScript code was directly defined on the web page. But there is another ...

JavaScript code execution

When a browser receives a web page with html and JavaScript code, it interprets it. The result of in...

First JavaScript Program

Let’s create our first JavaScript program. To write and test JavaScript programs, we need two ...

Pseudo-classes of child elements

A special group of pseudo-classes is formed by pseudo-classes that allow you to select certain child...

Pseudo-classes in CSS3

In addition to tag, class, and ID selectors, pseudo-class selectors are available to us, which provi...

Sibling element selectors

The sibling or adjacent element selectors allow you to select elements that are at the same nesting ...

Child selectors

Child selectors differ from descendant selectors in that they allow only elements of the first level...

Descendant selectors

A web page can have a complex organization, some elements within themselves can define other element...