How to display the last four blog posts using Json api in div tag : display latest blog post wordpress api in html

html

    <div id="content" class="content">
    </div>

javascript

    <script>
    $(document).ready(function(){
    $.getJSON( "https://startupet.com/blog/wp-json/wp/v2/posts", 
    function( 
    data ) {

    console.log(data);
    });  
    })
    </script>

"im get image post and title "

json file : https://startupet.com/blog/wp-json/wp/v2/posts
