You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's an HTML-element and JavaScript that dynamically fills it using `innerHTML`.
210
+
Here, below, there's an HTML-element and JavaScript that dynamically fills it using `innerHTML`.
211
211
212
212
Please run the previous code (above, observes that element), and then the code below. You'll see how `MutationObserver` detects and highlights the snippet.
213
213
214
-
<pid="highlight-demo"style="border: 1pxsolid#ddd">Демо-элемент с <code>id="highlight-demo"</code>, за которым следит код примера выше.</p>
214
+
<pid="highlight-demo"style="border: 1pxsolid#ddd">A demo-element with <code>id="highlight-demo"</code>, run the code above to observe it.</p>
215
215
216
-
The code below populates `innerHTML`. Please run the code above first, it will watch and highlight the new content:
216
+
The following code populates its`innerHTML`. Please run the code above first, it will watch and highlight the new content:
217
217
218
218
```js run
219
219
let demoElem =document.getElementById('highlight-demo');
0 commit comments