InnerText is not podstavlyaet Tex span. What could be the reason?
In the console error "Uncaught TypeError: Cannot set property 'innerText' of null". Neither innerText nor innerHtml are not working. Wrap the function in onload doesn't work either. What could be the reason? https://jsfiddle.net/9hqwrfnc/1/
1. You are trying to get the selector field-name__clb, and the HTML code you have defined .field-name__clb
2. The code is missing a function call fieldsName
3. document.querySelector only selects the first element that matches a certain group of selectors
hermina_Doy answered on June 5th 19 at 21:43
you have the wrong indication of the class in querySelector