How can I apply CSS properties to each element in a collection using jQuery?
const cssProperties = {
"color": "#555555",
"font-weight": "bold",
"text-align": "left"
};
const $tdCollection = $("tr:first-child").find("td:nth-child(2)"); // Collection of <td> elements
$.each($tdCollection, function(index, element){
$(element).css(cssProperties);
})