For example this is my code
<html>
<head><title>Document</title></head>
<body>
<script>
let input0 = parseInt(prompt("Write a number"))
let input1 = parseInt(prompt("Write an other number"))
if (input0 === input1){
//Here I want to print some text on webpage intead of
//using document.write or console.log
}
</script>
</body>
</html>
now i want to print a text in h1 tag but if the condition mets, how can i perform this task
h1tag