Using JavaScript DOM, access and modify following HTML elements
according to the tasks listed below:
Tasks:
1. Change h1 element color to green.
2. Change h2 element content to SEU.
3. Change img element width attribute to 150px.