usa el getElementById() o el getElementByClass() y encuentras elementos desde la consola.
Por ejemplo:
<html>
<head>
<title>Ejemplo getElementById</title>
</head>
<body>
<p id="para">Cualquier texto acá</p>
<button onclick="changeColor('blue');">Azul</button>
<button onclick="changeColor('red');">Rojo</button>
</body>
</html>var elem = document.getElementById('para');
elem.style.color = red;y te cambiaras el color del texto a rojo.