How can I host my Jekll on Github Pages?

I tried but when I open my pages it give me a blank page

A link to your repo on GitHub would be helpful for troubleshooting.

This is a good resource by GitHub for setting up a local version of Jekyll that will give you a better idea of what might be going wrong.