We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b813276 commit 1c15081Copy full SHA for 1c15081
Notes/DOM.md
@@ -53,7 +53,7 @@ For example: document.getElementById("myId") gets a node, and you can change its
53
| `innerText` | Returns or sets the **visible text** of the element (CSS-aware). | ❌ No | ⚠️ Slower | ✅ Yes |
54
55
56
-- 💡 **Note:** `innerText` is affected by CSS styles (e.g., `display: none`), while `textContent` is not.
+> 💡 **Note:** `innerText` is affected by CSS styles (e.g., `display: none`), while `textContent` is not.
57
58
### 4. Changing Attributes
59
- `title.setAttribute("class", "heading common");`
0 commit comments