createImgElement(team) {
  let img = document.createElement("IMG");
  img.src = "images/" + team + "-logo.svg";
  img.classList.add("team_logo");
  img.id = team + "_img";
  
  //Append to DOM
  let divWrap = document.getElementById(team);
  divWrap.append(img);
}
// Create image element for team logo
Create image element for team logo
Create image element for team logo
createImgElement(team) {
  let img = document.createElement("IMG");
  img.src = "images/" + team + "-logo.svg";
  img.classList.add("team_logo");
  img.id = team + "_img";
  let divWrap = document.getElementById(team);
  divWrap.append(img);
}
createImgElement ( team ) { let img = document . createElement ( "IMG" ) ; img . src = "images/" + team + "-logo.svg" ; img . classList . add ( "team_logo" ) ; img . id = team + "_img" ; let divWrap = document . getElementById ( team ) ; divWrap . append ( img ) ; }
Create image element for team logo
Create image element for team logo
//Append to DOM