So in essence I get the value of input, then try to divide into into different tags via the comma with this
     var noteTags = document.getElementsByClassName("noteTag").value;
          Tag = noteTags.split(",");
But in console, the split(",") is undefined
Edit: Sorry I forgot to mention that the noteTag element is input, does this change how the code works in any way?
 
     
     
     
    