New to JS. How can I apply CSS to this JS Fetch to alter test position, font? Thank you.
<!DOCTYPE html>
<html>
<body>
<p id="kdkz"></p>
<script>
let file = 'art.txt';
const handleFetch = () => {
fetch(file)
.then((x) => x.text())
.then((y) => (document.getElementById('kdkz').innerHTML = y));
};
setInterval(() => handleFetch(), 2000);
</script>
</body>
</html>