Yes, you should have as comprehensive a page code and design ideas as possible, because it is submitted as a software design. You have to submit an application to the Intellectual Property Office first, and then print out the code and submit it to the Intellectual Property Office as a basis, as well as page design and so on. Wait for the result after all submission.
You can also entrust a professional patent agency.