Create HTML using JavaScript


PHOTO EMBED

Wed Oct 28 2020 08:18:26 GMT+0000 (UTC)

Saved by @julien #javascript #html #css

image.src = 'http://placekitten.com/200/300';
image.width = 250;
image.classList.add('cute');
image.alt = 'Cute Kitten';
content_copyCOPY

https://medium.com/@gemma.stiles/breaking-down-the-dom-dd197e4f7154