xxxxxxxxxx
<html>
<body>
<p id="p2">Hello World!</p>
<script>
document.getElementById("p2").style.color = "blue";
</script>
</body>
</html>
xxxxxxxxxx
const thing = document.getElementById("thing");
thing.style.backgroundColor = "blue";
xxxxxxxxxx
var element = document.createElement('select');
element.style.maxWidth = "100px";