How to host my code on to github and then to online hosting platforms

Hello.

https://duckduckgo.com/?t=canonical&q=how+to+host+my+page+on+github&ia=web

On a serious note: your question is too broad. It is similar to a question “how do I make a dinner?” A lot of us are happy to help, but we need more information.

Steps I suggest:

  1. Create a page.
  2. Find some free hosting site.
  3. Read tutorial on how to set up your page.