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 51c5b3e commit ad89398Copy full SHA for ad89398
04 - Array Cardio Day 1/index-START.html
@@ -100,6 +100,13 @@
100
101
// 6. create a list of Boulevards in Paris that contain 'de' anywhere in the name
102
// https://en.wikipedia.org/wiki/Category:Boulevards_in_Paris
103
+ const div = document.querySelector('.mw-category');
104
+ const links = Array.from(div.querySelectorAll('a'));
105
+ let de = links.map(function(link){
106
+ return link.textContent;
107
+ });
108
+
109
+ de.filter(hasDe => hasDe.includes('de'));
110
111
112
// 7. sort Exercise
0 commit comments