I am working with HTML And css, i have canvas(showing line graph), But i want to change "background color" and some other css changes,How cna i do this ? Here is my current code
<div class="chartContainer" id="canvas" style="height: 300px; width: 100%;"></div>
<script>
canvas.setAttribute('width', window.innerWidth);
canvas.setAttribute('height', window.innerHeight);
let ctx = canvas.getContext('2d');
ctx.fillStyle = 'blue';
ctx.fillRect(0,0,canvas.width, canvas.height);
</script>