Question: Im doing something wrong but i dont know what is wrong. Help Magical Forest Circle Exercise . I've provided you with some basic markup in
Magical Forest Circle Exercise . I've provided you with some basic markup in index.html. Please do not change any of the markup directly. Instead, use JavaScript to make the following changes: Select the div with the id of container. Using JavaScript, set it's text alignment to 'center'; Select the image and use JavaScript to give it a width of 150px and a border radius of 50% Remember to use camelCased property names in JavaScript! (backgroundColor, not background- color, etc.) I Trees . ndex.html app.js 1 const div. document.querySelector('div[id"contanier')'); 2- for(let di of div){ 3 div.style.textAlign='center': 4 } 5 const img document.querySelector('ing); 7 img style width'150px' 8 img.style.borderRaduis.'50%; 6 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
