Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

json loop in js

var elements = document.querySelectorAll("a");
for (var i=0; i<elements.length; i++) {
   elements[i].style.color = "red";
}
‍
Source by www.microverse.org #
 
PREVIOUS NEXT
Tagged: #json #loop #js
ADD COMMENT
Topic
Name
3+5 =