Check out example codes for "javascript select element that does not have attribute". It will help you in understanding the concepts better.

Code Example 1

a:not([class]), a[class=""]{
    color: blue;
}

Learn ReactJs, React Native from akashmittal.com