I have no idea from javascript and I need a little help here. From resources here and there I am trying to do the following logic. 

When the browser has a width less than 700px then all images that have class "star-wars" will have that class removed. 

```
$(window).resize(function() {
  /*If browser resized, check width again */
  if ($(window).width() < 700) {
    function myFunction() {
      var element = document.querySelectorAll('img.has-zoom');
      element.classList.remove("has-zoom");
    }
  }
});

```

Obviously the above code is wrong. I need you to tell me how the above can be written correctly (if this is the right one).