Guest User

Wpr test 3

a guest
Jan 23rd, 2019
58
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function farbe() {
  2. "use strict";
  3. const MY_ROW = document.getElementById("marks").getElementsByTagName("tr");
  4. for (let i in MY_ROW) {
  5. for (i=1; i <= MY_ROW.length; i = i + 2) {
  6. MY_ROW[i].style.backgroundColor = 'RED' ;
  7. }
  8. }
  9. }
  10. farbe();
RAW Paste Data