Comment changer HTM H1 à partir de Nodejs
<html>
<head></head>
<body>
<h1></h1>
<script src='test.js'></script>
</body>
</html>
Horrible Horse
<html>
<head></head>
<body>
<h1></h1>
<script src='test.js'></script>
</body>
</html>
let h1 = document.getElementsByTagName('h1')[0];
h1.innerHTML = "Hello";