What will be the output of the following code?
const element = document.getElementById('myElement');
element.style.backgroundColor = 'red';
console.log(element.style.backgroundColor);
What will be the output of the following code?
const element = document.getElementById('myElement');
element.style.backgroundColor = 'red';
console.log(element.style.backgroundColor);