javascript how can I get the style of an element code example
Example: style through javascript
element.style.backgroundColor = "red"; // set the background color of an element to red
element.style.backgroundColor = "red"; // set the background color of an element to red