Javascript events

I’m getting this error, for onclick function Uncaught ReferenceError: change_paragraph_text is not defined at HTMLParagraphElement.onclick

<title></title>
<p id="output" onclick="change_paragraph_text()">Default text</p>

<script type="text/javascript">

    function change_paragrapgh_text(){

        document.getElementById("output").innerHTML="New Text";

    }

</script>

Hi @ellursaikiran,
Spelling of paragraph is wrong function change_paragrapgh_text(){ in this line. It should be change_paragraph_text() instead.