Skip to content

Commit 6cb6a23

Browse files
author
RELIAS\wcoleman
committed
gets an aray of dom elements containing specific text
1 parent 6fe424f commit 6cb6a23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

04 - Array Cardio Day 1/index-START.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363

6464
// 6. create a list of Boulevards in Paris that contain 'de' anywhere in the name
6565
// https://en.wikipedia.org/wiki/Category:Boulevards_in_Paris
66+
const category = document.querySelector('.mw-category');
67+
const links = category.querySelectorAll('a');
6668

6769

6870
// 7. sort Exercise

0 commit comments

Comments
 (0)