Code has been added to clipboard!

How Not to Use JavaScript setAttribute

Example
element.setAttribute("style", "background-color: green;");