Search
In the example given below, change the colour of all a elements with the class name external-link to green using getElementsByClassName. Also, change the colour of the second link with the class name external-link to tomato.
a
getElementsByClassName