Skip to content

Commit 755f2a7

Browse files
authored
Deleting the Codebyte Example in queryselectorall.md
1 parent ce891be commit 755f2a7

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

content/javascript/concepts/dom-manipulation/terms/queryselectorall/queryselectorall.md

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -47,47 +47,3 @@ In this example, we get a list of `<p>` elements whose immediate parent is a `<d
4747
const container = document. querySelector("#test");
4848
const matches = container.querySelectorAll("div.highlighted > p");
4949
```
50-
51-
52-
## Codebyte Example (if applicable)
53-
54-
We can currently support:
55-
56-
- JavaScript
57-
58-
We need to use different libraries or tools to parse and manipulate HTML content in ways similar to JavaScript's **.querySelectorAll()**:
59-
- Python
60-
- Ruby
61-
- C++
62-
- C#
63-
- Go
64-
- PHP
65-
66-
See [content-standards.md](https://github.com/Codecademy/docs/blob/main/documentation/content-standards.md) for more details!
67-
68-
```html
69-
<!DOCTYPE html>
70-
<html lang="en">
71-
<head>
72-
<meta charset="UTF-8">
73-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
74-
<title>querySelectorAll Example</title>
75-
</head>
76-
<body>
77-
<p>This is paragraph 1.</p>
78-
<p>This is paragraph 2.</p>
79-
<p>This is paragraph 3.</p>
80-
81-
<script>
82-
// Select all <p> elements on the page
83-
const paragraphs = document.querySelectorAll('p');
84-
85-
// Loop through each <p> element and add some extra text
86-
paragraphs.forEach((para, index) => {
87-
para.textContent += ` - Updated by querySelectorAll (${index + 1})`;
88-
});
89-
</script>
90-
</body>
91-
</html>
92-
93-
```

0 commit comments

Comments
 (0)