Learn JAVASCRIPT Part 1 Button Management and Attribute Modifications

Опубликовано: 21 Февраль 2026
на канале: Formation Maroc Taleb Essalama
6,205
74

JavaScript is the most popular programming language in the world.

JavaScript is the programming language of the web.

JavaScript is easy to learn.

This tutorial will teach you basic to advanced JavaScript.
JavaScript is one of the three languages ​​every web developer must learn:

1. HTML to define the content of web pages

2. CSS to specify the layout of web pages

3. JavaScript to program the behavior of web pages
One of the many JavaScript HTML methods is getElementById().

The example below "finds" an HTML element (with id = "demo") and changes the element's content (innerHTML) to "Hello JavaScript":

Example
In this example, JavaScript changes the value of the src attribute (source) of an img tag: