I'm trying to change a paragraph element by its ID in JavaScript to a h1.
My HTML
<body>
   <p id="damn"> Hello </p>
</body>
My JavaScript
<script>
    document.getElementByID("damn").<required missing code to change to h1>
</script>
The required result is
<body>
   <h1 id="damn"> Hello </h1>
</body>
 
     
    