⚙️ Как работать с DOM в JavaScript? —[29:28]
В этом видео вы научитесь выполнять аж 26 задач элементами DOM (объектная модель документа) и разберёте ключевые методы работы с ним. Вот как минимум несколько из таких задач:
1. Создание и удаление элементов на странице
2. Динамическое создание HTML-разметки
3. Добавление классов к элементам
4. Использование обработчиков событий на созданных элементах
Перейти к просмотру
#javascript
⚡️⚡️⚡️Learn some of the most in-demand IT skills in just 80 hours!
'JS Bootcamp. Deep Dive into React' from DSR Corporation, you will acquire a junior front-end developer skillset taught by our world-class engineers.
We invite university students to apply for this course, which is 100% free, fully online, and includes 1:1 mentorship for students.
🆕Training in English!
Apply now!🔥 March 20 — the online entrance test!
#DSR#DoingSoftwareRight#DSR_courses#JavaScript
⚡️⚡️⚡️Learn some of the most in-demand IT skills in just 80 hours!
'JS Bootcamp. Deep Dive into React' from DSR Corporation, you will acquire a junior front-end developer skillset taught by our world-class engineers.
We invite university students from Voronezh to apply for this course, which is 100% free, fully online, and includes 1:1 mentorship for students.
‼️Training in English!
👉🏻Apply now: https://en.dsr-corporation.com/courses/jsbootcamp/
#DSR#DoingSoftwareRight#DSR_courses#JavaScript
#javascript#css
Creativ cards🔥
🖥Kodi bilan tanishish
✊Biz bilan birga o’rganing —@texnologiyait_bot
💻@dasturlash_hayoti— dasturchilar va dasturlash hayotini yoritib boradigan loyiha!
JavaScriptda Scope Chain
JavaScriptda Scope Chain tushunchasi bu - JavaScript engine ni o'zgaruvchilar va fungsiyalarni scopelar ichidan qidirib topish mexanizmidir.
Scope Chain o'zgaruvchi e'lon qilingan scopedan boshlab global scope ga qarab qidirib boradi. Buni yaxshiroq tushunish uchun quyidagi misolni ko'rib o'tamiz.
const y = 20;
function function1() {
const x = 100;
const function2 = function () {
console.log(x); // x o'zgaruvchisi dastavval function2 ni scopidan qidiriladi topolmagach o'zidan bitta yuqoridagi scopega chiqadi va x ni o'qib oladi x = 100
};
var function3 = function () {
console.log(y); // y o'zgaruvchisi dastavval function3 ni scopidan qidiriladi topolmagach o'zidan bitta yuqoridagi function1 ni scopega chiqadi, u yerdan ham topolmagach global scopega chiqadi va y ni tanib oladi y = 20
};
function2();
function3();
}
function1();
#javascript#interview_questions
☑️@valisher_botirov