Write the JavaScript code to set the width of element to 50% code example
Example: Write the JavaScript code to set the width of element to 50%;
document.getElementById('header').style.width = '50%';
document.getElementById('header').style.width = '50%';