```
function foo(){
  var svg = document.querySelector(".crusher");
  let polygon = document.createElementNS("http://www.w3.org/2000/svg", "polygon");
  polygon.className = "polygon01";
  svg.appendChild(polygon);
}

function foo01(){
  let actualPolygon = document.querySelector(".polygon01");
  actualPolygon.style = "fill:red";
}

```

When I try to select the class name, and change the fill color, i'm receiving a cannot access style of null value, so the class name is not being assigned the way I would like it to. Any help would be awesome.