Getting Style Properties from JavaScript
When dealing with CSS styles in JavaScript, there are situations where this.style[property] may return an empty string.
Understanding this.style[property]
this.style[property] accesses the inline styles of the current element. Inline styles are those defined directly within the