How can I put my own code in a wordpress page?

you can make wordpress single page template and put your own code and assign this template to your page
wordpress templates

tech