Javascript beginner : I Got easy code here and can't get it to work.
I just started javascript, please help me!

    <p id="p">
       Test
    </p>

    <script>
      var p_tag = document.getElementById("p");
    
      document.p_tag.innerHTML = "Hey";
    </script>