CSS has a feature called !important. What it does is force a property to be used, regardless of other properties that are more specific. It can be very handy.
It is simple to load images to the page using JavaScript. We can create it using two methods then append it to the DOM.
var img1 = document.createElement("img…