Options
JavaScript
1
// replace the first image we see with a cat2
document.images[0].src = 'http://thecatapi.com/api/images/get?format=src&type=gif';3
4
// replace the google logo with a cat5
document.getElementById('lga').innerHTML = '<a href="http://thecatapi.com"><img src="http://thecatapi.com/api/images/get?format=src&type=gif"></a>';6
CSS
xxxxxxxxxx1
1
body {2
background-color: skyblue;3
}4
URL