Uss your custom object in the standard controller of visualforce page, include what are the fields you want to have in visualforce page and add the save button.
I strongly encourage you to take a look into the Trailhead modules which really helps you understand & learn about salesforce platform easily https://developer.salesforce.com/trailhead
Use standard controller of the custom object along with the input fields of the object you want to insert on the VF page.The save action on button will automatically create records in objects. Below is a sample code:
Uss your custom object in the standard controller of visualforce page, include what are the fields you want to have in visualforce page and add the save button.
I strongly encourage you to take a look into the Trailhead modules which really helps you understand & learn about salesforce platform easily https://developer.salesforce.com/trailhead
As a common practice, if your question is answered, please choose 1 best answer. You can alos give every answer a thumb up if that answer is helpful to you.
This will help future users determine what answers are useful and which one was the best in resoution.
I strongly encourage you to take a look into the Trailhead modules which really helps you understand & learn about salesforce platform easily
https://developer.salesforce.com/trailhead
All Answers
<apex:page standardController="obj">
<apex:form >
<apex:pageBlock >
<apex:pageBlockSection >
<apex:inputField value="{!obj.field1}"/>
<apex:inputField value="{!obj.field2}"/>
......
<apex:commandButton action="{!save}" value="Save"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
I strongly encourage you to take a look into the Trailhead modules which really helps you understand & learn about salesforce platform easily
https://developer.salesforce.com/trailhead
As a common practice, if your question is answered, please choose 1 best answer.
You can alos give every answer a thumb up if that answer is helpful to you.
This will help future users determine what answers are useful and which one was the best in resoution.