
Exercices JavaScript corrigés : 20 exercices exécutés, des variables au fetch
20 exercices JavaScript corrigés, exécutés sous Node.js et testés dans le navigateur : variables, fonctions, tableaux, DOM, fetch, modules et un proje
Tag archive

20 exercices JavaScript corrigés, exécutés sous Node.js et testés dans le navigateur : variables, fonctions, tableaux, DOM, fetch, modules et un proje
Introduction: The Rise of Nanoviews Three years ago, I set out to solve a problem that had...
The MutationObserver API watches for changes to the DOM — element additions, removals, attribute...
Если вы когда-нибудь писали CSS-селекторы для автоматизации браузера, парсинга страниц или блокировки...
If you've ever written CSS selectors for browser automation, web scraping, or blocking unwanted...
Resolve TypeScript errors when assigning custom properties to window by extending the Window interface with declaration merging.

For years, 'has the user stopped scrolling?' was a guess: debounce the scroll event, pick a delay, hope. The scrollend event answers the question directly — and as of Safari 26.2, it finally works everywhere. Here's the bug the guess causes, and the one-line fix.
task - 1 Live clock <h1 id="clock">00:00:00</h1> <script> ...
Element selectors: JavaScript element selectors are built-in DOM methods used to target,...
Task 7 Uppercase converter <!DOCTYPE html> <html lang="en"> <head> ...
TASK - 1 : LIVE CHARACTER COUNT <input id="type" type="text" oninput="show()"> <p...