I am struggling to change the background color from white to red using JavaScript. I have included the necessary code but nothing seems to be happening.
.html<body>
<div class="invoice-box">
<table cellpadding="0" cellspacing="0>
<tr class="top">
<td colspan="2">
<table>
<tr>
<td class="title">
<img src="emoji.png" width="100">
</td>
.css
.invoice-box {
background: white;
max-width:800px;
margin:auto;
padding:30px;
border:1px solid #eee;
box-shadow:0 0 10px rgba(0, 0, 0, .15);
font-size:16px;
line-height:24px;
font-family:'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
color:#555;
.js
document.getElementById("invoice-box").style.background = "red";