Edit in JSFiddle

 $(document).ready(function () {
     $("#myButton").click(function () {
         $("#targetP").after("<h3>Jquery is easy to learn.</h3>")
     });
 });
<html>
    
    <head>
        <title>after</title>
    </head>
    
    <body>
        <p id="targetP">Jquery is amazing.</p>
        <input type="button" id="myButton" value="After"
        />
        <input type="button" id="reset" value="reset" onclick="location.reload()"
        />
    </body>

</html>