I am trying to store muliple html elements in one variable in javascript. I am trying like this.
const htmlElements = document.querySelector(['.A', '.B', '.C']);
is there a way that htmlElements can return the array of these elements from HTML but this syntex is giving me error. Can anyone help me with this?