How do I create a profile by fetching data from an html form ? (Using JS, Django in backend)

I tried to fetch the data from the below file and display as a profile on a different page named 'startups.html'. Every person who fills the following profile form, his/her profile should be displayed on the 'startups.html' page.

<form action="startups" name="createprofile" method="get" onclick="prof()">
    
        {% csrf_token %}
         Company Image<input type="image" id="c_img" name="c_img" >
        Company Name<input type="text" id="c_name" name="c_id" >
        Startup or Investor <input type="text" id="c_type" name="c_type" >
        Username<input type="text" id="username1" name="username1" >
        Password<input type="text" id="password1" name="password1" >
        Confirm Password<input type="text" id="con_pass1" name="con_pass1" >
        
        <button type="submit" id="profile_sub" onclick="prof()">SUBMIT</button>

        <!-- <button type="submit" id="createprof_submit"><a href="" action="/startups" name="startups">SUBMIT</a></button>-->

    </div>
</form>
Back to Top